Skip to content

Commit 52a437e

Browse files
committed
Disable TLS for static in localhost
1 parent c2f8078 commit 52a437e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

config/localhost.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ binderhub:
2323

2424
static:
2525
ingress:
26+
tls:
27+
enabled: false
2628
hosts:
2729
- localhost
2830
- localhost

mybinder/templates/static/ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ spec:
3030
port:
3131
number: 80
3232
{{- end }}
33+
{{- if .Values.static.ingress.tls.enabled }}
3334
tls:
3435
- secretName: {{ .Values.static.ingress.tls.secretName }}
3536
hosts:
3637
{{- range $host := .Values.static.ingress.hosts }}
3738
- {{ $host }}
3839
{{- end }}
40+
{{- end }}

mybinder/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ static:
528528
kubernetes.io/ingress.class: nginx
529529
kubernetes.io/tls-acme: "true"
530530
tls:
531+
enabled: true
531532
secretName: kubelego-tls-static
532533

533534
# values ref: https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml

0 commit comments

Comments
 (0)