diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index f26ff47c8..ee414580f 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -113,6 +113,8 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: +podAnnotations: {} + podSecurityContext: {} # fsGroup: 2000 @@ -250,6 +252,10 @@ spec: {{- include ".selectorLabels" . | nindent 6 }} template: metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include ".selectorLabels" . | nindent 8 }} spec: