Skip to content

Commit

Permalink
Add additional label and selector for the proxy pod
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanDeltaRay committed Dec 10, 2023
1 parent f11f8ea commit 52bd1e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jupyterhub/templates/proxy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ spec:
{{- with .Values.proxy.labels }}
{{- . | toYaml | nindent 8 }}
{{- end }}
hub.jupyter.org/network-selector: proxy
annotations:
# We want to restart proxy only if the auth token changes
# Other changes to the hub config should not restart.
Expand Down
1 change: 1 addition & 0 deletions jupyterhub/templates/proxy/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
{{- else }}
{{- include "jupyterhub.matchLabels" . | nindent 4 }}
{{- end }}
hub.jupyter.org/network-selector: proxy
ports:
{{- if $HTTPS }}
- name: https
Expand Down

0 comments on commit 52bd1e2

Please sign in to comment.