diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 8d8f48176..2e3b12782 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -254,10 +254,10 @@ spec: {{- include ".selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} + {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} labels: {{- include ".selectorLabels" . | nindent 8 }} spec: