Skip to content

Commit

Permalink
Fix teams enablement condition (#3855)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelanspatel authored Feb 7, 2025
1 parent 1c31d4e commit c0cc2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cost-analyzer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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" -}}
Expand Down

0 comments on commit c0cc2bb

Please sign in to comment.