feat: add pod annotations

With the rise of sidecar injectors, pod annotations configuration is becoming more and more important.

Signed-off-by: Naseem <naseem@transit.app>
Signed-off-by: Matheus Hunsche <matheus.hunsche@ifood.com.br>
pull/8840/head
Naseem 6 years ago committed by Matheus Hunsche
parent 5903861012
commit 5851fd4d2a

@ -113,6 +113,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
@ -250,6 +252,10 @@ spec:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
spec:

Loading…
Cancel
Save