fix: with .Values.podAnnotations indent template

Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
pull/8696/head
Thulio Ferraz Assis 4 years ago
parent 0d84fa2986
commit 6766017d38
No known key found for this signature in database
GPG Key ID: DEF1C99F258E3F6D

@ -254,10 +254,10 @@ spec:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }} {{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }} {{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
spec: spec:

Loading…
Cancel
Save