diff --git a/chart/templates/uds-package.yaml b/chart/templates/uds-package.yaml index 11e6a3d..2192a62 100644 --- a/chart/templates/uds-package.yaml +++ b/chart/templates/uds-package.yaml @@ -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: diff --git a/chart/values.yaml b/chart/values.yaml index 55133ac..30bb10a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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: