diff --git a/charts/jupyterhub-outpost/Chart.yaml b/charts/jupyterhub-outpost/Chart.yaml index 9bf530b9fe26d172298e24ececbd539dbdae1474..602fc1c6dcf778bbc0a724be72c022f70dab516b 100644 --- a/charts/jupyterhub-outpost/Chart.yaml +++ b/charts/jupyterhub-outpost/Chart.yaml @@ -17,7 +17,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.7 +version: 1.0.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/jupyterhub-outpost/README.md b/charts/jupyterhub-outpost/README.md index 4139ebd38a6830f362791ae5156681693ea04dab..0a99f4abbdb16b54e0d5848e8b10d42d34b7f074 100644 --- a/charts/jupyterhub-outpost/README.md +++ b/charts/jupyterhub-outpost/README.md @@ -116,6 +116,8 @@ extraEnvVarsSecrets: ``` ### CHANGELOG +#### 1.0.8 +- Add the option to configure `externalTrafficPolicy` in the SSH service, allowing users to preserve the client IP address when needed. #### 1.0.7 - Add permission to delete events. Allows for cleaner spawning events when using KubeSpawner. Example Configuration: diff --git a/charts/jupyterhub-outpost/templates/servicessh.yaml b/charts/jupyterhub-outpost/templates/servicessh.yaml index d2e3681f47f378c52d45f739a4a0b7bb083d5cb2..35906b5c26a73446f75cead3f8fbbf86af4e4472 100644 --- a/charts/jupyterhub-outpost/templates/servicessh.yaml +++ b/charts/jupyterhub-outpost/templates/servicessh.yaml @@ -12,6 +12,7 @@ spec: {{- end }} selector: {{- include "jupyterhub-outpost.selectorLabels" . | nindent 4 }} + externalTrafficPolicy: {{ .Values.servicessh.externalTrafficPolicy }} ports: - port: {{ .Values.servicessh.port }} targetPort: ssh diff --git a/charts/jupyterhub-outpost/values.yaml b/charts/jupyterhub-outpost/values.yaml index 150c733bfc2d01e50b55097413aa449cacc9fea0..3a465019e90eb93fb547fd4b817c126a7695f213 100644 --- a/charts/jupyterhub-outpost/values.yaml +++ b/charts/jupyterhub-outpost/values.yaml @@ -53,6 +53,7 @@ servicessh: nodePort: extraPorts: [] loadBalancerIP: + externalTrafficPolicy: Cluster ingress: enabled: false