Skip to content

Commit 36f27a6

Browse files
Merge pull request #99 from eodcgmbh/jeg-tls
add control over tls for jeg ingress
2 parents d7d66ff + 1085713 commit 36f27a6

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

eodc/jupyter-enterprise-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: jupyter-enterprise-gateway
33
description: Jupyter enterprise gateway behind apisix
44
type: application
5-
version: 0.1.2
5+
version: 0.1.3
66
appVersion: "3.2.3"
77
maintainers:
88
- name: Christoph Reimer

eodc/jupyter-enterprise-gateway/templates/ingress.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
}
2626
spec:
2727
rules:
28-
- host: {{ .Values.domainname.jupyterhub }}
28+
- host: {{ .Values.domainname.jupyterhub.url }}
2929
http:
3030
paths:
3131
- path: /
@@ -35,10 +35,12 @@ spec:
3535
name: apisix-gateway
3636
port:
3737
number: 80
38+
{{- if .Values.domainname.jupyterhub.tls}}
3839
tls:
3940
- hosts:
40-
- {{ .Values.domainname.jupyterhub }}
41+
- {{ .Values.domainname.jupyterhub.url }}
4142
secretName: jeg-jupyterhub-tls
43+
{{- end}}
4244
---
4345
apiVersion: networking.k8s.io/v1
4446
kind: Ingress
@@ -67,7 +69,7 @@ metadata:
6769
}
6870
spec:
6971
rules:
70-
- host: {{ .Values.domainname.public }}
72+
- host: {{ .Values.domainname.public.url }}
7173
http:
7274
paths:
7375
- path: /
@@ -77,7 +79,9 @@ spec:
7779
name: apisix-gateway
7880
port:
7981
number: 80
82+
{{- if .Values.domainname.public.tls}}
8083
tls:
8184
- hosts:
82-
- {{ .Values.domainname.public }}
85+
- {{ .Values.domainname.public.url }}
8386
secretName: public-jeg-tls
87+
{{- end}}

eodc/jupyter-enterprise-gateway/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
domainname:
3-
jupyterhub:
3+
jupyterhub:
4+
url:
5+
tls:
46
public:
7+
url:
8+
tls:
59

610
jupyterhub:
711
auth:

0 commit comments

Comments
 (0)