Skip to content

Commit

Permalink
[FEATURE] - Provider Service Account (#1532)
Browse files Browse the repository at this point in the history
Allowing the administrator to use the service account in the Provider regardless of the credentials type
  • Loading branch information
gambol99 authored Oct 23, 2024
1 parent d76f575 commit 672773a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assets/job.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
spec:
# https://github.com/kubernetes/kubernetes/issues/74848
restartPolicy: Never
{{- if eq .Provider.Source "injected" }}
{{- if .Provider.ServiceAccount }}
serviceAccountName: {{ .Provider.ServiceAccount }}
{{- else }}
serviceAccountName: {{ .ServiceAccount }}
Expand Down

0 comments on commit 672773a

Please sign in to comment.