Skip to content

Commit

Permalink
Merge pull request jupyterhub#1534 from dirkcgrunwald/PR_always_http_…
Browse files Browse the repository at this point in the history
…port

move endif to only bracket https options
  • Loading branch information
consideRatio authored Dec 26, 2019
2 parents a7d46a6 + bec480f commit 7eef29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterhub/templates/proxy/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spec:
{{- if .Values.proxy.service.nodePorts.https }}
nodePort: {{ .Values.proxy.service.nodePorts.https }}
{{- end }}
{{- end }}
- name: http
port: 80
protocol: TCP
Expand All @@ -68,7 +69,6 @@ spec:
{{- if .Values.proxy.service.nodePorts.http }}
nodePort: {{ .Values.proxy.service.nodePorts.http }}
{{- end }}
{{- end }}
type: {{ .Values.proxy.service.type }}
{{- if .Values.proxy.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.proxy.service.loadBalancerIP }}
Expand Down

0 comments on commit 7eef29d

Please sign in to comment.