re-use controller.workflowNamespaces instead of introducing workflow.namespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
This commit is contained in:
reinvantveer 2021-07-12 13:52:08 +02:00
parent 73ee287d31
commit 41c6be74c4

View file

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