Skip to content

Commit b3b047c

Browse files
Merge branch 'main' into support-topology-spread-contstraints
2 parents 6fb09ba + 75e3bd2 commit b3b047c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ spec:
4343
{{- toYaml . | nindent 8 }}
4444
{{- end }}
4545
serviceAccountName: {{ template "oauth2-proxy.serviceAccountName" . }}
46+
automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
4647
{{- if .Values.hostAlias.enabled }}
4748
hostAliases:
4849
- ip: {{ .Values.hostAlias.ip }}

helm/oauth2-proxy/templates/serviceaccount.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ metadata:
1010
app: {{ template "oauth2-proxy.name" . }}
1111
{{- include "oauth2-proxy.labels" . | indent 4 }}
1212
name: {{ template "oauth2-proxy.serviceAccountName" . }}
13+
automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
1314
{{- end -}}

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ serviceAccount:
115115
## The name of the ServiceAccount to use.
116116
## If not set and create is true, a name is generated using the fullname template
117117
name:
118+
automountServiceAccountToken: true
118119
annotations: {}
119120

120121
ingress:

0 commit comments

Comments
 (0)