Add back admin user
This commit is contained in:
parent
fac5f29e46
commit
eedb0a1503
|
@ -151,6 +151,10 @@ hub:
|
||||||
'command': [sys.executable, '/usr/local/etc/jupyterhub/refresh-token.py']
|
'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:
|
extraFiles:
|
||||||
refresh-token.py:
|
refresh-token.py:
|
||||||
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
|
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
|
||||||
|
|
Loading…
Reference in a new issue