From 5ab115da8598419ef179ca02ec446e0daa9c6b6a Mon Sep 17 00:00:00 2001 From: Igor Karpukhin Date: Tue, 29 Oct 2024 20:37:41 +0300 Subject: [PATCH] Fixed AKO Roles for multiple namespaces (#353) --- charts/atlas-operator/templates/roles.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/atlas-operator/templates/roles.yaml b/charts/atlas-operator/templates/roles.yaml index 954f42a2..b808153c 100644 --- a/charts/atlas-operator/templates/roles.yaml +++ b/charts/atlas-operator/templates/roles.yaml @@ -14,7 +14,7 @@ metadata: labels: {{- include "mongodb-atlas-operator.labels" $ | nindent 4 }} rules: -{{- range (.Files.Lines "rbac.yaml") }} +{{- range ($.Files.Lines "rbac.yaml") }} {{ . -}} {{- end }} ---