Compare commits

..

2 commits

Author SHA1 Message Date
Micke Nordin 19c3d41dd9
More trial and error 2024-01-16 14:05:49 +01:00
Micke Nordin b5d86f08f9
Remove extra ports 2024-01-16 13:55:39 +01:00
2 changed files with 4 additions and 7 deletions

View file

@ -211,8 +211,6 @@ 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,14 +142,13 @@ 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