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

Loading…
Cancel
Save