Add back admin user

This commit is contained in:
Micke Nordin 2024-01-18 16:34:10 +01:00
parent fac5f29e46
commit eedb0a1503
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