Skip to content

Commit

Permalink
Add service account to backup job
Browse files Browse the repository at this point in the history
  • Loading branch information
pichouk authored Jan 9, 2025
1 parent 5e966e8 commit 1876ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/jobs/cronjob-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ spec:
template:
spec:
restartPolicy: Never
automountServiceAccountToken: false
serviceAccountName: {{ include "graphdb.serviceAccountName" . }}
automountServiceAccountToken: true
{{- if .Values.jobs.schedulerName }}
schedulerName: {{ .Values.jobs.schedulerName }}
{{- end }}
Expand Down

0 comments on commit 1876ac7

Please sign in to comment.