Skip to content

Commit

Permalink
Make cronJob work without a service account
Browse files Browse the repository at this point in the history
  • Loading branch information
TomyLobo authored and aslafy-z committed Sep 30, 2024
1 parent 24b1ec5 commit ca0cf49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
annotations: {{ toYaml . | nindent 12 }}
{{- end }}
spec:
{{- if $.Values.rbac.enabled }}
{{- if $.Values.rbac.serviceAccount.enabled }}
{{- if $.Values.rbac.serviceAccount.name }}
serviceAccountName: {{ $.Values.rbac.serviceAccount.name }}
{{- else }}
Expand Down

0 comments on commit ca0cf49

Please sign in to comment.