Skip to content
Snippets Groups Projects
Commit 91c1fa0f authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Change method to query login user name for proxy link

The previous method was to infer the login user name from the container
host name. However, this was not really clean, since the container
hostname seems to be set from the pod name. There might be unknown
restrictions for K8s pod names. One odd case is that a '-' in a login
user name was replaced by '-2d' in the container host name / pod name.

The new method directly uses the environment variable JUPYTERHUB_USER.
parent 73e2dd7f
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment