Skip to content

Commit e02e91d

Browse files
podAnnotations Values in the feature-server chart (#2304)
Signed-off-by: Tomas Pereira de Vasconcelos <tomasvasconcelos1@gmail.com>
1 parent 144f25c commit e02e91d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

infra/charts/feast/charts/feature-server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Feast Feature Server: Online feature serving service for Feast
4545
| logLevel | string | `"WARN"` | Default log level, use either one of `DEBUG`, `INFO`, `WARN` or `ERROR` |
4646
| logType | string | `"Console"` | Log format, either `JSON` or `Console` |
4747
| nodeSelector | object | `{}` | Node labels for pod assignment |
48+
| podAnnotations | object | `{}` | Annotations to be added to Feast Serving pods |
4849
| podLabels | object | `{}` | Labels to be added to Feast Serving pods |
4950
| readinessProbe.enabled | bool | `true` | Flag to enabled the probe |
5051
| readinessProbe.failureThreshold | int | `5` | Min consecutive failures for the probe to be considered failed |

infra/charts/feast/charts/feature-server/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ spec:
2121
annotations:
2222
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
2323
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
24+
{{- if .Values.podAnnotations }}
25+
{{ toYaml .Values.podAnnotations | nindent 8 }}
26+
{{- end }}
2427
labels:
2528
app: {{ template "feature-server.name" . }}
2629
component: serving

infra/charts/feast/charts/feature-server/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,8 @@ envOverrides: {}
140140
# secrets -- List of Kubernetes secrets to be mounted. These secrets will be mounted on /etc/secrets/<secret name>.
141141
secrets: []
142142

143+
# podAnnotations -- Annotations to be added to Feast Serving pods
144+
podAnnotations: {}
145+
143146
# podLabels -- Labels to be added to Feast Serving pods
144147
podLabels: {}

0 commit comments

Comments
 (0)