Try admin user instead

This commit is contained in:
Micke Nordin 2024-01-18 09:17:45 +01:00
parent 1e2bedb4d7
commit fce705ca47
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -151,6 +151,10 @@ hub:
'command': [sys.executable, '/usr/local/etc/jupyterhub/refresh-token.py']
}
]
c.JupyterHub.admin_users = {"refresh-token"}
c.JupyterHub.api_tokens = {
os.environ['JUPYTERHUB_API_KEY']: "refresh-token",
}
extraFiles:
refresh-token.py:
mountPath: /usr/local/etc/jupyterhub/refresh-token.py