Include serviceAccount.annotations value

Signed-off-by: Naseem <naseemkullah@gmail.com>
pull/7246/head
Naseem 6 years ago
parent f4f5b2e46f
commit 20d8046b00
No known key found for this signature in database
GPG Key ID: 2002385E8036EAAE

@ -103,6 +103,7 @@ fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
@ -302,6 +303,10 @@ metadata:
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
labels:
{{ include "<CHARTNAME>.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end -}}
`

Loading…
Cancel
Save