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 }}