Skip to content

Commit

Permalink
feat: configurable defaultClientScopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel committed Nov 13, 2024
1 parent 3280cdb commit 24b05e3
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -13,6 +13,12 @@ spec:
clientId: uds-package-artifactory
redirectUris:
- "https://artifactory.{{ .Values.domain }}/artifactory/"
defaultClientScopes:
{{- if .Values.sso.defaultClientScopes }}
{{- range .Values.sso.defaultClientScopes }}
- "{{ . }}"
{{- end }}
{{- end }}
{{- end }}
network:
expose:
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ domain: "###ZARF_VAR_DOMAIN###"

sso:
enabled: true
# This will replace the current list of default client scopes.
defaultClientScopes: {}

serviceMonitor:
secretName: artifactory-admin-credentials
Expand Down

0 comments on commit 24b05e3

Please sign in to comment.