Skip to content

Commit

Permalink
Update job.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Nov 13, 2024
1 parent e47cc0f commit 7a0e9d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ spec:
{{- end }}
spec:
{{- if $.Values.rbac.enabled }}
{{- if $.Values.rbac.serviceAccount.enabled }}
{{- if $.Values.rbac.serviceAccount.name }}
serviceAccountName: {{ $.Values.rbac.serviceAccount.name }}
{{- else }}
{{- else }}
serviceAccountName: {{ template "application.name" $ }}
{{- end }}
{{- end }}
{{- end }}
containers:
- name: {{ $name }}

Expand Down

0 comments on commit 7a0e9d8

Please sign in to comment.