From ba262c923d97ed763adcb89bfb6f955b82303bbb Mon Sep 17 00:00:00 2001 From: reinvantveer Date: Mon, 12 Jul 2021 14:30:33 +0200 Subject: [PATCH] drop redundant $namespace assignment that was already moved inside the "range" function Signed-off-by: reinvantveer --- charts/argo-workflows/templates/controller/workflow-role.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/argo-workflows/templates/controller/workflow-role.yaml b/charts/argo-workflows/templates/controller/workflow-role.yaml index f60c9889..906d7e2f 100644 --- a/charts/argo-workflows/templates/controller/workflow-role.yaml +++ b/charts/argo-workflows/templates/controller/workflow-role.yaml @@ -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 }}