Skip to content

Commit e0a97c1

Browse files
committed
fix(chart): automount service account token on pod level
1 parent 6f165a1 commit e0a97c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/flagger/templates/account.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ metadata:
1313
app.kubernetes.io/name: {{ template "flagger.name" . }}
1414
app.kubernetes.io/managed-by: {{ .Release.Service }}
1515
app.kubernetes.io/instance: {{ .Release.Name }}
16+
automountServiceAccountToken: false
1617
{{- end }}

charts/flagger/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ spec:
4444
{{ toYaml .Values.podAnnotations | indent 8 }}
4545
{{- end }}
4646
spec:
47+
automountServiceAccountToken: true
4748
serviceAccountName: {{ template "flagger.serviceAccountName" . }}
4849
{{- if .Values.affinity }}
4950
affinity:

0 commit comments

Comments
 (0)