Skip to content

Commit

Permalink
Merge pull request jupyterhub#67 from jupyterhub/revert-54-manual-tls
Browse files Browse the repository at this point in the history
Revert "Allow setting up TLS manually"
  • Loading branch information
yuvipanda committed Sep 6, 2017
2 parents b2fb7a6 + 3418cf8 commit 0fd5ac7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions jupyterhub/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,10 @@ spec:
serviceName: proxy-public
servicePort: 80
host: {{ .Values.ingress.host }}
{{- if .Values.ingress.https.enabled }}
{{- if eq .Values.ingress.https.type "kube-lego" }}
{{- if and .Values.ingress.https.enabled (eq .Values.ingress.https.type "kube-lego") }}
tls:
- secretName: kubelego-tls-proxy-{{ .Release.Name }}
hosts:
- {{ .Values.ingress.host }}
{{- else if eq .Values.ingress.https.type "manual" }}
tls:
- secretName: manual-tls-proxy-{{ .Release.Name }}
hosts:
- {{ .Values.ingress.host }}
{{- end }}
{{- end -}}

0 comments on commit 0fd5ac7

Please sign in to comment.