-
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
Option CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT: che-ws-<username> does not work properly #17631
Comments
/cc @skabashnyuk |
@asavin-cl |
We have such a properties in this case
looks like with helm all 3 was configured and in case of olm only |
I believe |
@skabashnyuk
|
@asavin-cl |
@tolusha |
After discussion @skabashnyuk we agreed that operator should set properties which are used to secure workspace ingresses (it is needed when workspace is created in another namespace).
As workaround, pls create |
I can concur this problem exists for us too, using the chectl operator installer on vanilla k8s. copying the cert to the new generated namespace solved the issue as well, but I'm about to have a bunch of users sign up and create workspaces, and I will have to manually copy that secret for each one of them as the create. Any idea what release we could expect to see a fix? I'm going to report another bug with this arrangement in a moment, where you cannot deploy a custom devfile from the Che UI when the namespace is |
The fix is expected to be in 7.19 |
@mmorhun |
Fixed. |
When I deploy Che through chectl using olm installer and use CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT: che-ws-<username>
I got an error when try to start che workspace.
Error: Failed to run the workspace: "Server 'theia' in container 'theia-idemo8' not available."
The error relates to SSL issue.
I found the problem in ingress configuration.
tls:
- hosts:
- serverfz4halbv-jwtproxy-server-4400.192.168.64.109.nip.io
secretName: che-tls
But if I use chectl helm installer ingress configuration looks differently.
tls:
- hosts:
- server3d7rl40n-jwtproxy-server-4400.192.168.64.109.nip.io
secretName: workspace0kah0jezpmlppw58-che-tls
Therefore in olm installation case che is looking che-tls certificates in che-ws-<username> Kubernetes namespace but this secret absent there.
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minikube version: v1.12.2
minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandchectl/7.17.0 win32-x64 node-v10.22.0
Relative to this issue need to Add Che service account.
[che-operator] - serviceaccount permissions for <username>-che as default namespace #15493
kubectl create clusterrolebinding che --clusterrole cluster-admin --serviceaccount=che:che
Install Che
Environment
Che version 7.17.0
The text was updated successfully, but these errors were encountered: