UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 074482d8 authored by Micah Nagel's avatar Micah Nagel
Browse files

Merge branch 'revert-e87805ae' into 'master'

Revert "Merge branch 'gitlab-broader-sso-support' into 'master'"

See merge request platform-one/big-bang/bigbang!1398
parents 1b100e36 a25d988b
No related branches found
No related tags found
2 merge requests!1658Draft: Merge branch 'tempo_tracing_updates' into 'master',!1398Revert "Merge branch 'gitlab-broader-sso-support' into 'master'"
Pipeline #706051 passed with warnings
...@@ -16,23 +16,20 @@ stringData: ...@@ -16,23 +16,20 @@ stringData:
"args": { "args": {
"name": "openid_connect", "name": "openid_connect",
"scope": [ "scope": [
{{- $scopes := .Values.addons.gitlab.sso.scopes | default (list "Gitlab") | uniq }} "Gitlab"
{{- range $index, $scopes }}
{{ $index | quote }}{{if ne $index (last $scopes)}},{{end}}
{{- end }}
], ],
"response_type": "code", "response_type": "code",
"issuer": {{ .Values.addons.gitlab.sso.issuer_uri | default "https://{{ .Values.sso.oidc.host }}/auth/realms/{{ .Values.sso.oidc.realm }}" | quote }}, "issuer": "https://{{ .Values.sso.oidc.host }}/auth/realms/{{ .Values.sso.oidc.realm }}",
"client_auth_method": "query", "client_auth_method": "query",
"discovery": true, "discovery": true,
"uid_field": {{ .Values.addons.gitlab.sso.uid_field | default "preferred_username" | quote }}, "uid_field": "preferred_username",
"client_options": { "client_options": {
"identifier": "{{ .Values.addons.gitlab.sso.client_id | default .Values.sso.client_id }}", "identifier": "{{ .Values.addons.gitlab.sso.client_id | default .Values.sso.client_id }}",
"secret": "{{ .Values.addons.gitlab.sso.client_secret | default .Values.sso.client_secret }}", "secret": "{{ .Values.addons.gitlab.sso.client_secret | default .Values.sso.client_secret }}",
"redirect_uri": "https://{{ .Values.addons.gitlab.hostnames.gitlab }}.{{ $domainName }}/users/auth/openid_connect/callback", "redirect_uri": "https://{{ .Values.addons.gitlab.hostnames.gitlab }}.{{ $domainName }}/users/auth/openid_connect/callback",
"end_session_endpoint": {{ .Values.addons.gitlab.sso.end_session_uri | default "https://{{ .Values.sso.oidc.host }}/auth/realms/{{ .Values.sso.oidc.realm }}/protocol/openid-connect/logout" | quote }} "end_session_endpoint": "https://{{ .Values.sso.oidc.host }}/auth/realms/{{ .Values.sso.oidc.realm }}/protocol/openid-connect/logout"
} }
} }
} }
{{- end }} {{- end }}
{{- end}} {{- end}}
\ No newline at end of file
...@@ -751,18 +751,6 @@ addons: ...@@ -751,18 +751,6 @@ addons:
# -- Gitlab SSO login button label # -- Gitlab SSO login button label
label: "" label: ""
# -- Gitlab SSO Scopes, default is ["Gitlab"]
scopes:
- Gitlab
# -- GitLab SSO URIs
# Only needed if your SSO is non-Keycloak
#issuer_uri:
#end_session_uri:
# -- Gitlab SSO UID field
uid_field: preferred_username
database: database:
# -- Hostname of a pre-existing PostgreSQL database to use for Gitlab. # -- Hostname of a pre-existing PostgreSQL database to use for Gitlab.
# Entering connection info will disable the deployment of an internal database and will auto-create any required secrets. # Entering connection info will disable the deployment of an internal database and will auto-create any required secrets.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment