Che doesn't sanitize usernames when creating per-user namespaces/projects #15899
Closed
3 of 13 tasks
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
Describe the bug
I've deployed Eclipse Che on OpenShift 3.11 on IBM Cloud, with
openShiftoAuth: true
. The accounts on my cluster are of the form:iam#<users-email-address>
(e.g. iam#john@ibm.com).When I go to create a workspace, I get the following error in Che:
If I try to manually run the failed workspace, the following error will show in my browser:
It looks like the ProjectRequest resource is complaining about the invalid characters in my cluster account's username. Would it be possible to sanitize the username before creating the per-user namespace/project?
Che version
Steps to reproduce
Expected behavior
Workspace start succeeds regardless of what my username is
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
The text was updated successfully, but these errors were encountered: