From 8177b078bf5973046a4e0dbf03eb352535eb88c9 Mon Sep 17 00:00:00 2001 From: reinvantveer Date: Mon, 12 Jul 2021 14:22:44 +0200 Subject: [PATCH] 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 --- charts/argo-workflows/templates/controller/workflow-rb.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-workflows/templates/controller/workflow-rb.yaml b/charts/argo-workflows/templates/controller/workflow-rb.yaml index 2d89f34c..2a622620 100644 --- a/charts/argo-workflows/templates/controller/workflow-rb.yaml +++ b/charts/argo-workflows/templates/controller/workflow-rb.yaml @@ -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" . }}