Closed cniessigma closed 1 year ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Thanks for highlighting the issue. This issue is already reported: https://github.com/jupyterhub/kubespawner/issues/498
Bug description
Once of our users signed up to JupyterHub with an email that began with an underscore character.
_@example.com
. The Kuberspawner then takes this username and escapes it to am ostensibly Kubernetes friendly name by escaping it to-5f-40example-2ecom
, which is not a valid label value since it starts with a hyphen.Expected behaviour
The spawner to spawn a PVC and a Pod the user can access.
Actual behaviour
How to reproduce
I have attempted to update the config to overwrite the labels by adding a prefix, but then I hit 403s when trying to log into the server, so I assume it needs to be set the way it is right now in the code itself
Your personal set up
Zero to Jupyterhub (Chart version
2.0.0
, app version3.0.0
), using the stock image.