dro now-redundant branch for controller.workflowNamespaces
Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
This commit is contained in:
parent
424f1fc97f
commit
d51e06fc33
1 changed files with 5 additions and 7 deletions
|
@ -17,20 +17,18 @@ subjects:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.workflow.rbac.create -}}
|
{{- if .Values.workflow.rbac.create -}}
|
||||||
{{- if .Values.controller.workflowNamespaces }}
|
{{- range $namespace := append .Values.controller.workflowNamespaces .Values.workflow.namespace | compact | uniq }}
|
||||||
{{- range $namespace := append .Values.controller.workflowNamespaces .Values.workflow.namespace | compact | uniq }}
|
|
||||||
|
|
||||||
{{ include "workflow-rb-base" . }}
|
{{ include "workflow-rb-base" . }}
|
||||||
name: {{ $.Release.Name }}-workflow
|
name: {{ $.Release.Name }}-workflow
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
|
|
||||||
{{- include "workflow-rb-roleref" . }}
|
{{- include "workflow-rb-roleref" . }}
|
||||||
name: {{ template "argo-workflows.fullname" $ }}-workflow
|
name: {{ template "argo-workflows.fullname" $ }}-workflow
|
||||||
|
|
||||||
{{- include "workflow-rb-subjects" . }}
|
{{- include "workflow-rb-subjects" . }}
|
||||||
name: {{ $.Values.workflow.serviceAccount.name }}
|
name: {{ $.Values.workflow.serviceAccount.name }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue