Add hub to hosts

This commit is contained in:
Micke Nordin 2024-01-18 09:34:35 +01:00
parent fce705ca47
commit 3dc9ed0c74
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -155,6 +155,11 @@ hub:
c.JupyterHub.api_tokens = {
os.environ['JUPYTERHUB_API_KEY']: "refresh-token",
}
c.JupyterHub.extra_host_config.update({
"extra_hosts": {
"hub":"127.0.0.1"
}
})
extraFiles:
refresh-token.py:
mountPath: /usr/local/etc/jupyterhub/refresh-token.py