Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ spec:
gateway:
oAuthProxy:
cookieExpireSeconds: 300
deployment:
containers:
- env:
- name: OAUTH2_PROXY_BACKEND_LOGOUT_URL
value: "http://keycloak.$(minikube ip).nip.io/realms/che/protocol/openid-connect/logout?id_token_hint=\{id_token}"
name: oauth-proxy
components:
cheServer:
extraProperties:
Expand All @@ -333,6 +339,7 @@ helm install che \
--set networking.auth.identityProviderURL=https://keycloak.$(minikube ip).nip.io/realms/che . && \
sleep 5s && \
{orch-cli} patch checluster/eclipse-che --patch '{"spec": {"components": {"cheServer": {"extraProperties": {"CHE_OIDC_USERNAME__CLAIM": "email"}}}}}' --type=merge -n eclipse-che
{orch-cli} patch checluster/eclipse-che --patch '{"spec": {"networking": {"auth": {"gateway": {"deployment": {"containers": [{"name": "oauth-proxy", "env":[{"name": "OAUTH2_PROXY_BACKEND_LOGOUT_URL", "value": "http://keycloak.$(minikube ip).nip.io/realms/che/protocol/openid-connect/logout?id_token_hint=\{id_token}"}]}]}}}}}}' --type=merge -n eclipse-che
----

.Verification steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,13 @@ spec:
gateway:
oAuthProxy:
cookieExpireSeconds: 300
components:
deployment:
containers:
- env:
- name: OAUTH2_PROXY_BACKEND_LOGOUT_URL
value: "http://$KEYCLOAK_HOST/realms/che/protocol/openid-connect/logout?id_token_hint=\{id_token}"
name: oauth-proxy
components:
cheServer:
extraProperties:
CHE_OIDC_USERNAME__CLAIM: email
Expand Down