Skip to content

Commit

Permalink
feat: add ability to set user groups for access
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborland committed Nov 19, 2024
1 parent 1b6cd95 commit a1e00f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ spec:
- "mapper-saml-grouplist-groups"
- "mapper-saml-username-name"
{{- end }}
groups:
anyOf:
{{- if .Values.sso.requiredGroups }}
{{- range .Values.sso.requiredGroups }}
- "{{ . }}"
{{- end }}
{{- end }}

attributes:
saml.client.signature: "false"
Expand Down
3 changes: 2 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ sso:
# protocol should be either 'saml' or 'openid_connect'
protocol: saml
# This will replace the current list of default client scopes.
defaultClientScopes: {}
defaultClientScopes: []
requiredGroups: []

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

0 comments on commit a1e00f1

Please sign in to comment.