Skip to content

Commit

Permalink
Seed a default switch to control automountServiceAccountToken
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
  • Loading branch information
jcpunk committed Dec 19, 2022
1 parent 3636f68 commit 4f35343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/chartutil/create.go
Expand Up @@ -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.
Expand Down Expand Up @@ -366,6 +368,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}
`

Expand Down

0 comments on commit 4f35343

Please sign in to comment.