Seed a default switch to control `automountServiceAccountToken`

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
pull/11644/head
Pat Riehecky 2 years ago
parent 3636f68247
commit 4f353439fa

@ -122,6 +122,8 @@ fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Automatically mount a ServiceAccount's API credentials?
automount: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
@ -366,6 +368,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}
`

Loading…
Cancel
Save