Skip to content

Commit

Permalink
remove hardcoded safe slug scheme from namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jul 30, 2024
1 parent f44b178 commit 97399f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kubespawner/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ def __init__(self, *args, **kwargs):
# for transitive values (pod_name, dns_name)
# but not persistent values (namespace, pvc_name)
if self.enable_user_namespaces:
self.namespace = self._expand_user_properties(
self.user_namespace_template, slug_scheme="safe"
)
self.namespace = self._expand_user_properties(self.user_namespace_template)
self.log.info(f"Using user namespace: {self.namespace}")

self.pod_name = self._expand_user_properties(self.pod_name_template)
Expand Down

0 comments on commit 97399f0

Please sign in to comment.