Closed m-bull 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:
This is a known issue, please follow https://github.com/jupyterhub/kubespawner/issues/498
Bug description
PVCs fail to be created if a username does not begin with a "safe" character (
set(string.ascii_lowercase + string.digits)
).If a username begins with a "non-safe" character, when it is url-encoded here, it may end up beginning with a
-
.This is subsequently included as a PVC label value, which is not allowed.
Expected behaviour
PVC creates successfully even if usernames begin with "unsafe" characters.
Actual behaviour
PVC fails to create with the following message:
How to reproduce
Spawn a singleuser notebook with an attached PVC and a username that begins with an uppercase letter.
Your personal set up