Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to use keycloak in che deployment #21258

Closed
arunthomastechversant opened this issue Mar 15, 2022 · 1 comment
Closed

Need to use keycloak in che deployment #21258

arunthomastechversant opened this issue Mar 15, 2022 · 1 comment
Labels
area/install Issues related to installation, including offline/air gap and initial setup kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@arunthomastechversant
Copy link

Summary

Hi Team,

When I use che deployment in my previous system, I'm able to deploy everything fine as well as keycloak. But unfortunately Now I'm facing issue or not able to deploy as it did last time.

I have been using keycloak as my OIDC and working on the user creation and user management via api. But after updating chectl, when I do the deployment keycloak is not deployed. instead of keycloak DEX is being deployed. I'm not much familiar with DEX and my code is prepared based on keycloak.

Is there any way to deploy keycloak alone with chectl server:deploy.

Please advise me on this scenario.

Thanks in Advance

Relevant information

Working chectl logs
######################

$ chectl server:start
› Warning: A newer version of chectl is available. Run "chectl update" to update to the newer version.
› Current Kubernetes context: 'minikube'
✔ Verify Kubernetes API...OK
✔ 👀 Looking for an already existing Eclipse Che instance
✔ Verify if Eclipse Che is deployed into namespace "eclipse-che"
✔ Found stopped Eclipse Che deployment
✔ Found stopped postgres deployment
✔ Found stopped keycloak deployment
✔ Found stopped plugin registry deployment
✔ Found stopped devfile registry deployment
✔ Following Eclipse Che logs
✔ Start following Operator logs...done
✔ Start following Eclipse Che Server logs...done
✔ Start following PostgreSQL logs...done
✔ Start following Keycloak logs...done
✔ Start following Plug-in Registry logs...done
✔ Start following Devfile Registry logs...done
✔ Start following Eclipse Che Dashboard logs...done
✔ Start following namespace events...done
✔ Starting Eclipse Che
✔ PostgreSQL pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Keycloak pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Devfile registry pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Plug-in Registry pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che Dashboard pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che Server pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che status check...done
Command server:start has completed successfully in 02:10.

Current logs
########################################
› Current Kubernetes context: 'minikube'
✔ Verify Kubernetes API...OK
✔ 👀 Looking for an already existing Eclipse Che instance
✔ Verify if Eclipse Che is deployed into namespace "eclipse-che"
✔ Found stopped Eclipse Che deployment
✔ Found stopped postgres deployment
✔ Found stopped plugin registry deployment
✔ Found stopped devfile registry deployment
✔ Following Eclipse Che logs
✔ Start following Operator logs...done
✔ Start following Eclipse Che Server logs...done
✔ Start following PostgreSQL logs...done
✔ Start following Keycloak logs...done
✔ Start following Plug-in Registry logs...done
✔ Start following Devfile Registry logs...done
✔ Start following Eclipse Che Dashboard logs...done
✔ Start following namespace events...done
✔ Starting Eclipse Che
✔ PostgreSQL pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Devfile registry pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Plug-in Registry pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che Dashboard pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che Server pod bootstrap
✔ Scheduling...done
✔ Downloading images...done
✔ Starting...done
✔ Eclipse Che status check...done
Command server:start has completed successfully in 02:02.

@arunthomastechversant arunthomastechversant added the kind/question Questions that haven't been identified as being feature requests or bugs. label Mar 15, 2022
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 15, 2022
@sparkoo sparkoo added area/install Issues related to installation, including offline/air gap and initial setup and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 15, 2022
@sparkoo
Copy link
Member

sparkoo commented Mar 15, 2022

Hi, Keycloak is no longer part of Che deployment. You can deploy it on your own and setup Dex to use it as identity provider https://dexidp.io/docs/connectors/oidc/. Or you can setup your Kubernetes to use Keycloak as OIDC and setup Che directly to use it (similar to this #21049 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to installation, including offline/air gap and initial setup kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

4 participants