From b5d86f08f91202af7d32d606314cf66680032c7c Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 16 Jan 2024 13:55:39 +0100 Subject: [PATCH] Remove extra ports --- jupyter/base/charts/jupyterhub/templates/hub/deployment.yaml | 2 -- jupyter/base/values/values.yaml | 5 ----- 2 files changed, 7 deletions(-) diff --git a/jupyter/base/charts/jupyterhub/templates/hub/deployment.yaml b/jupyter/base/charts/jupyterhub/templates/hub/deployment.yaml index 2110654..d6e1c63 100644 --- a/jupyter/base/charts/jupyterhub/templates/hub/deployment.yaml +++ b/jupyter/base/charts/jupyterhub/templates/hub/deployment.yaml @@ -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 diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 973b7d7..f3c1131 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -145,11 +145,6 @@ hub: '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