Skip to content

Commit

Permalink
wip: adding configurable client scopes for OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel committed Nov 12, 2024
1 parent f46263a commit 053fe6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ spec:
clientId: uds-package-jenkins-openid-connect

protocol: openid-connect
defaultClientScopes:
{{- if .Values.sso.defaultClientScopes }}
{{- range .Values.sso.defaultClientScopes }}
- "{{ . }}"
{{- end }}
{{- end }}

secretName: {{ .Values.sso.secretName }}
secretTemplate:
Expand Down
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sso:
secretName: jenkins-sso
# protocol should be either 'saml' or 'openid_connect'
protocol: saml
# This will replace the current list of default scopes. Add all mappers that are necessary here
defaultClientScopes: {}

# customNetworkPolicies:
Expand Down

0 comments on commit 053fe6e

Please sign in to comment.