Syntax error

This commit is contained in:
Micke Nordin 2024-01-15 16:06:46 +01:00
parent db6f3998ac
commit fc11225ffb
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -10,7 +10,9 @@ hub:
pvc: pvc:
storageClassName: csi-sc-cinderplugin storageClassName: csi-sc-cinderplugin
extraFiles: extraFiles:
refresh-token.py: | refresh-token.py:
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
stringData: |
"""A token refresh service authenticating with the Hub. """A token refresh service authenticating with the Hub.
This service serves `/services/refresh-token/`, This service serves `/services/refresh-token/`,
@ -167,7 +169,7 @@ hub:
c.JupyterHub.services = [ c.JupyterHub.services = [
{ {
'name': 'refresh-token', 'name': 'refresh-token',
'command': [sys.executable, './refresh_token.py'] 'command': [sys.executable, '/usr/local/etc/jupyterhub/refresh-token.py']
} }
] ]