Skip to content

Commit

Permalink
chore: use additional scopes while having dex enabled (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanter authored Oct 10, 2024
1 parent 096d2b1 commit d20c42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kargo/templates/api/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit d20c42d

Please sign in to comment.