Skip to content

Commit

Permalink
Revert "Allow setting up TLS manually"
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Sep 6, 2017
1 parent b2fb7a6 commit 3418cf8
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 3418cf8

Please sign in to comment.