drop redundant $namespace assignment that was already moved inside the "range" function

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
This commit is contained in:
reinvantveer 2021-07-12 14:30:33 +02:00
parent 7622124536
commit ba262c923d

View file

@ -29,7 +29,6 @@ rules:
{{- if .Values.workflow.rbac.create -}}
{{- range $namespace := append .Values.controller.workflowNamespaces .Values.workflow.namespace | compact | uniq }}
{{ $namespace := . }}
{{- include "workflow-role-base" . }}
name: {{ template "argo-workflows.fullname" $ }}-workflow
namespace: {{ $namespace }}