From 41c6be74c4379c5662e55aa85bd123fe536fb869 Mon Sep 17 00:00:00 2001 From: reinvantveer Date: Mon, 12 Jul 2021 13:52:08 +0200 Subject: [PATCH] re-use controller.workflowNamespaces instead of introducing workflow.namespaces Signed-off-by: reinvantveer --- charts/argo-workflows/templates/controller/workflow-rb.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/templates/controller/workflow-rb.yaml b/charts/argo-workflows/templates/controller/workflow-rb.yaml index 0b9b702e..4e38652d 100644 --- a/charts/argo-workflows/templates/controller/workflow-rb.yaml +++ b/charts/argo-workflows/templates/controller/workflow-rb.yaml @@ -18,9 +18,9 @@ subjects: {{- if .Values.workflow.rbac.create -}} - {{- if .Values.workflow.namespaces }} + {{- if .Values.controller.workflowNamespaces }} - {{- range .Values.workflow.namespaces }} + {{- range .Values.controller.workflowNamespaces }} {{ $namespace := . }} {{ include "workflow-rb-base" . }}