From e6857cbc91155f7ff39b5aec9f78f61e2178d15d Mon Sep 17 00:00:00 2001 From: "Alvaro.Camina" Date: Thu, 29 Feb 2024 14:20:43 +0100 Subject: [PATCH] Changing additionalRules from dict to list and addressing comment Signed-off-by: Alvaro.Camina --- charts/argo-rollouts/templates/controller/clusterrole.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/argo-rollouts/templates/controller/clusterrole.yaml b/charts/argo-rollouts/templates/controller/clusterrole.yaml index cc86cab5..a60070b3 100644 --- a/charts/argo-rollouts/templates/controller/clusterrole.yaml +++ b/charts/argo-rollouts/templates/controller/clusterrole.yaml @@ -276,8 +276,8 @@ rules: verbs: - '*' {{- end }} -{{- if .Values.providerRBAC.additionalRules }} -{{ toYaml .Values.providerRBAC.additionalRules }} +{{- with .Values.providerRBAC.additionalRules }} +{{ toYaml . }} {{- end }} {{- end }} {{- end }}