re-use controller.workflowNamespaces instead of introducing workflow.namespaces
Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
This commit is contained in:
parent
1a60f03610
commit
94cb44819e
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ rules:
|
|||
|
||||
{{- if .Values.workflow.rbac.create -}}
|
||||
|
||||
{{- if .Values.workflow.namespaces }}
|
||||
{{- range .Values.workflow.namespaces}}
|
||||
{{- if .Values.controller.workflowNamespaces }}
|
||||
{{- range .Values.controller.workflowNamespaces}}
|
||||
{{ $namespace := . }}
|
||||
{{- include "workflow-role-base" . }}
|
||||
name: {{ template "argo-workflows.fullname" $ }}-workflow
|
||||
|
|
Loading…
Reference in a new issue