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" . }}