Skip to content

Commit

Permalink
feat: adds functionality to edit the default scopes for keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel committed Nov 12, 2024
1 parent 66b5b1f commit f46263a
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 @@ -17,11 +17,17 @@ spec:

protocol: saml
defaultClientScopes:
{{- if .Values.sso.defaultClientScopes }}
{{- range .Values.sso.defaultClientScopes }}
- "{{ . }}"
{{- end }}
{{- else }}
- "mapper-saml-email-email"
- "mapper-saml-firstname-first_name"
- "mapper-saml-lastname-last_name"
- "mapper-saml-grouplist-groups"
- "mapper-saml-username-name"
{{- end }}

attributes:
saml.client.signature: "false"
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
defaultClientScopes: {}

# customNetworkPolicies:
# # Notice no `remoteGenerated` field here on custom internal rule
Expand Down

0 comments on commit f46263a

Please sign in to comment.