-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable chectl to install Che through OLM when appropriate #15279
Comments
So this is a new install approach for OCP 4.2+? Questions for downstreaming:
|
|
Yes, it is. |
Is your enhancement related to a problem? Please describe.
Currently,
chectl
allows installing, updating or deleting Che on an OpenShift 4.2 cluster. But it still uses the raw yaml method (deploy the operator, roles, service account etc ... through yaml files) instead of using the OLM (OperatorHub)-compatible method (by subscription to the OLM package channel.).More than that, trying to update or delete, with
chectl
, a Che installation that was initially installed through OperatorHub, will not work propertly, and also lead to inconsistencies.Describe the solution you'd like
In
chectl
, we should have anolm
installer, and make it the default installer on Openshift 4.2 cluster.Additionally, we should probably test whether an existing Che operator deployment was initially installed through OLM (easy to do through annotations) before trying to either update or delete it through alternate installers.
With the new
olm
installer, users would also be able to install Che in a given namespace without having admin rights since it's mainly subscribing to an operator OLM package already available in one of the available OLM catalogs.Describe alternatives you've considered
For now it has been said that documentation should clearly state that, on OpenShift 4.2, OperatorHub and
chectl
installation methods should never be mixed.However this doesn't fully remove the risk of getting errors due to this situation.
The text was updated successfully, but these errors were encountered: