From d20c42daa314e77e74566be52c4fcc0a48ff5078 Mon Sep 17 00:00:00 2001 From: Krzysiek Date: Thu, 10 Oct 2024 09:21:01 +0200 Subject: [PATCH] chore: use additional scopes while having dex enabled (#2702) --- charts/kargo/templates/api/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kargo/templates/api/configmap.yaml b/charts/kargo/templates/api/configmap.yaml index 52d3d35dc..416a2e267 100644 --- a/charts/kargo/templates/api/configmap.yaml +++ b/charts/kargo/templates/api/configmap.yaml @@ -34,6 +34,7 @@ data: {{- end }} {{- if .Values.api.oidc.enabled }} OIDC_ENABLED: "true" + OIDC_ADDITIONAL_SCOPES: {{ join "," .Values.api.oidc.additionalScopes }} {{- if .Values.api.oidc.globalServiceAccounts.namespaces }} GLOBAL_SERVICE_ACCOUNT_NAMESPACES: {{ .Release.Namespace }},{{ join "," .Values.api.oidc.globalServiceAccounts.namespaces }} {{- else }} @@ -56,7 +57,6 @@ data: {{- if .Values.api.oidc.cliClientID }} OIDC_CLI_CLIENT_ID: {{ quote .Values.api.oidc.cliClientID }} {{- end }} - OIDC_ADDITIONAL_SCOPES: {{ join "," .Values.api.oidc.additionalScopes }} {{- end }} {{- end }} {{- if .Values.api.argocd.urls }}