-
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
Che-operator uses domain-name in spec.tls.hosts in all ingresses generated by che-operator's che-operator-cr-yaml file instead of fqdn of che-server #19921
Comments
@Yukesh4791 |
@tolusha , I used the OperatorHub to deploy in the AWS EKS cluster. |
@tolusha does eclipse-che/che-operator#856 fix this issue? |
@l0rd I guess so, |
@Yukesh4791
Thank you |
@Yukesh4791 |
@tolusha , Sorry for the delayed response. I checked in release 7.32.0 and the issue is fixed. Now the host is properly updated in the ingress. Thanks for the quick fix! |
Cool. Thank you for your feedback. |
Description:
Hi, I was trying to deploy Eclipse-Che using che-operator manifests from https://github.com/eclipse-che/che-operator/tree/main/deploy. The deployment of che-server and rest is fine but the ingress is not properly generated. In Ingress generated by the operator,
spec.rules.hosts
andspec.tls.hosts
are not matching/same. I guess both these value should match in order to be able to access che-dashbaord url else we will encounter 502 nginx error. I tried even patching the ingress but no luck since those fields are managed by the operator.In the below example, you can find that
spec.rules.hosts
is the fqdn hostname which is correctly generated by the operator and inspec.tls.hosts
it is the domain name which should be the fqdn of che.This is the case for all the ingress (che, che-dashboard, keycloak, devfile-registry, plugin-registry) where the value in rules and tls is not matching.
Also, che operator doesn't respect the
customCheProperties
specified in https://github.com/eclipse-che/che-operator/blob/main/deploy/crds/org_v1_che_cr.yaml. Where I tried to add some annotations like below snippet, the change is not reflecting in the ingress.server: customCheProperties: CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON: '{"external-dns.alpha.kubernetes.io/target": "xxxxxxxxxxxx.elb.eu-east-1.amazonaws.com"}'
Environment:
Installation method:
The text was updated successfully, but these errors were encountered: