-
Notifications
You must be signed in to change notification settings - Fork 88
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
Allow to customize cheHost #380
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mmorhun, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[test] |
New changes are detected. LGTM label has been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure that all the types of OpenShift 4 platforms allow setting custom hosts ?
Afair on Openshift Online at some point it was not possible.
And now I'm especially thinking of OSD for example. Maybe this ability is driven by some cluster-wide setting ?
I'm asking that because the first time you detect that no Che host is specified (empty string), then it is set back to the calculated value in the CR spec.
so the next time the controller sees the CR, it would behave as if is was set explicitly by the user in the CR, and set the host explicitly in the configured route.
So finally we'd end up with the controller always needing the custom-host
permission, which might be quite a hard and restrictive requirement.
Or do you check that the value in the CR is the same as the expected value (that OS would set itself), and then just remove the host from the created route to let OpenShift set it on its own ?
@davidfestal |
Retested on minikube and openshift 4.4
|
[test] |
Signed-off-by: Anatolii Bazko <[email protected]>
Signed-off-by: Anatolii Bazko <[email protected]>
Signed-off-by: Anatolii Bazko <[email protected]>
Signed-off-by: Anatolii Bazko <[email protected]>
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che failed installation in minishift. |
Latest version of Eclipse Che installed and tested successfully in minikube. |
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che installed and tested successfully in minishift. |
[test] |
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che installed and tested successfully in minishift. |
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che installed and tested successfully in minishift. |
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che failed installation in minishift. |
Latest version of Eclipse Che installed and tested successfully in minikube. |
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che failed installation in minishift. |
Signed-off-by: Anatolii Bazko <[email protected]>
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che failed installation in minishift. |
[test] |
Latest version of Eclipse Che failed installation in minishift. |
[test] |
Latest version of Eclipse Che installed and tested successfully in minikube. |
Latest version of Eclipse Che installed and tested successfully in minishift. |
Latest version of Eclipse Che failed installation in minikube. |
Signed-off-by: Anatolii Bazko [email protected]
What does this PR do
Reference issue
https://issues.redhat.com/browse/CRW-1022
Documentation
eclipse-che/che-docs#1442