Skip to content

Commit

Permalink
fix: always create service account and reference its name
Browse files Browse the repository at this point in the history
  • Loading branch information
luong-komorebi committed Sep 26, 2024
1 parent ef7ec10 commit 76eeea7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/temporal/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ Create chart name and version as used by the chart label.
Create the name of the service account
*/}}
{{- define "temporal.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "temporal.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

{{/*
Expand Down

0 comments on commit 76eeea7

Please sign in to comment.