Compare commits

..

No commits in common. "19c3d41dd9eaf2791934c2a28a88aa276c17ad85" and "d33297bde1a58c00f56b5c7c5e8b87b4d65caf6e" have entirely different histories.

2 changed files with 7 additions and 4 deletions

View file

@ -211,6 +211,8 @@ spec:
ports:
- name: http
containerPort: 8081
- name: refresh-token
containerPort: 8082
{{- if .Values.hub.livenessProbe.enabled }}
{{- /* NOTE:
We don't know how long hub database upgrades could take so having a

View file

@ -142,13 +142,14 @@ hub:
c.JupyterHub.services = [
{
'name': 'refresh-token',
'url': 'http://127.0.0.1:8082',
'display': False,
'oauth_no_confirm': True,
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],
'command': [sys.executable, '/usr/local/etc/jupyterhub/refresh-token.py']
}
]
service:
extraPorts:
- name: refresh-token8082
port: 8082
targetPort: 8082
extraFiles:
refresh-token.py:
mountPath: /usr/local/etc/jupyterhub/refresh-token.py