Skip to content

Commit

Permalink
move endif to only bracket https options
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkcgrunwald committed Dec 26, 2019
1 parent a7d46a6 commit bec480f
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 bec480f

Please sign in to comment.