Try directly with service and remove port patch to chart

This commit is contained in:
Micke Nordin 2024-01-18 14:49:38 +01:00
parent f27e800daa
commit 6ca3875011
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE
2 changed files with 0 additions and 6 deletions

View file

@ -215,8 +215,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

@ -151,10 +151,6 @@ 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