From fce705ca479b93ef3e29ece7ef61065d9bf4a3a4 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 18 Jan 2024 09:17:45 +0100 Subject: [PATCH] Try admin user instead --- jupyter/base/values/values.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 15a29f0..ecaebbc 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -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