Skip to content

Commit

Permalink
feat: add ability to set user groups for access (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborland authored Nov 19, 2024
1 parent 6e31cae commit 07934c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ spec:
- "email"
{{ end }}
{{- end }}
groups:
anyOf:
{{- if .Values.sso.requiredGroups }}
{{- range .Values.sso.requiredGroups }}
- "{{ . }}"
{{- 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 @@ -38,6 +38,7 @@ sso:

# This will replace the current list of default client scopes.
defaultClientScopes: []
requiredGroups: []

# These should typically be disabled if SSO is enabled
enable_sign_up_with_email: false
Expand Down

0 comments on commit 07934c8

Please sign in to comment.