File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
jupyterhub/templates/proxy Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,15 @@ metadata:
35
35
{{- end }}
36
36
spec :
37
37
selector :
38
+ # This service will target the autohttps pod if autohttps is configured, and
39
+ # the proxy pod if not. When autohttps is configured, the service proxy-http
40
+ # will be around to target the proxy pod directly.
38
41
{{- if $autoHTTPS }}
39
- component : autohttps
42
+ {{- $_ := merge (dict "componentLabel" "autohttps") . -}}
43
+ {{- include "jupyterhub.matchLabels" $_ | nindent 4 }}
40
44
{{- else }}
41
- component : proxy
45
+ {{- include "jupyterhub.matchLabels" . | nindent 4 }}
42
46
{{- end }}
43
- release : {{ .Release.Name }}
44
- app : {{ .appLabel | default (include "jupyterhub.appLabel" .) }}
45
47
ports :
46
48
{{- if $HTTPS }}
47
49
- name : https
You can’t perform that action at this time.
0 commit comments