use template helper "argo-workflows.fullname" instead of release name in order to be able to override the service account name

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
This commit is contained in:
reinvantveer 2021-07-12 14:22:44 +02:00
parent d51e06fc33
commit 8177b078bf

View file

@ -20,7 +20,7 @@ subjects:
{{- range $namespace := append .Values.controller.workflowNamespaces .Values.workflow.namespace | compact | uniq }}
{{ include "workflow-rb-base" . }}
name: {{ $.Release.Name }}-workflow
name: {{ "argo-workflows.fullname" }}-workflow
namespace: {{ $namespace }}
{{- include "workflow-rb-roleref" . }}