argocd-notifications: fix serviceaccount name (#389)
* fix: ArgoCD Notifications - Bot service account * chore: update argocd-notifications version to 1.0.6
This commit is contained in:
parent
5ca92acda0
commit
7d5d20f615
6 changed files with 15 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ Create the name of the bot service account to use
|
|||
*/}}
|
||||
{{- define "argocd-notifications.bots.slack.serviceAccountName" -}}
|
||||
{{- if .Values.bots.slack.serviceAccount.create -}}
|
||||
{{ default (include "argocd-notifications.fullname" .) .Values.bots.slack.serviceAccount.name }}
|
||||
{{ default (printf "%s-bot" (include "argocd-notifications.fullname" .)) .Values.bots.slack.serviceAccount.name }}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.bots.slack.serviceAccount.name }}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue