diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index b088f20ce..8620f46ad 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -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 ".selectorLabels" . | nindent 6 }} template: metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include ".selectorLabels" . | nindent 8 }} spec: