Skip to content

Commit 28e0e20

Browse files
committed
Fix config for taginfo serviceAccount
1 parent aa89393 commit 28e0e20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osm-seed/templates/taginfo/taginfo-cronJob.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ spec:
1919
spec:
2020
template:
2121
spec:
22+
{{- if .Values.taginfo.serviceAccount.enabled }}
2223
serviceAccountName: {{ .Values.taginfo.serviceAccount.name }}
24+
automountServiceAccountToken: true
25+
{{- end }}
2326
containers:
2427
- name: {{ .Release.Name }}-taginfo-job
2528
image: "{{ .Values.taginfo.image.name }}:{{ .Values.taginfo.image.tag }}"

0 commit comments

Comments
 (0)