From c0cc2bb309c1233ccf06ded13a3eed186f1528af Mon Sep 17 00:00:00 2001 From: Kaelan Patel <32113845+kaelanspatel@users.noreply.github.com> Date: Fri, 7 Feb 2025 10:48:31 -0800 Subject: [PATCH] Fix teams enablement condition (#3855) --- cost-analyzer/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cost-analyzer/templates/_helpers.tpl b/cost-analyzer/templates/_helpers.tpl index be12b73b9..9c62c683b 100755 --- a/cost-analyzer/templates/_helpers.tpl +++ b/cost-analyzer/templates/_helpers.tpl @@ -1396,7 +1396,7 @@ Groups is only used when using simple RBAC. {{- define "rbacTeamsEnabled" -}} {{- if or (.Values.saml).enabled (.Values.oidc).enabled -}} {{- if or ((.Values.saml).rbac).enabled ((.Values.oidc).rbac).enabled -}} - {{- if not (or (.Values.saml).groups (.Values.oidc).groups) -}} + {{- if not (or ((.Values.saml).rbac).groups ((.Values.oidc).rbac).groups) -}} {{- printf "true" -}} {{- else -}} {{- printf "false" -}}