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>
pull/7879/head
Naseem 6 years ago
parent c12a9aee02
commit c4fc8b7de8
No known key found for this signature in database
GPG Key ID: 2002385E8036EAAE

@ -111,6 +111,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
@ -248,6 +250,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