Merge pull request #7879 from naseemkullah/pod-annotations

[create] feat: add pod annotations
pull/7892/head
Matthew Fisher 4 years ago committed by GitHub
commit b735abe837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save