2023-09-25 14:28:39 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: jupyterhub-ingress
|
|
|
|
annotations:
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
|
|
spec:
|
2024-01-31 14:47:48 +00:00
|
|
|
ingressClassName: traefik
|
2023-09-25 14:28:39 +00:00
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: proxy-public
|
|
|
|
port:
|
|
|
|
number: 8443
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- jupyter.drive.test.sunet.se
|
|
|
|
secretName: tls-secret
|
|
|
|
|
|
|
|
rules:
|
|
|
|
- host: jupyter.drive.test.sunet.se
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: proxy-public
|
|
|
|
port:
|
|
|
|
number: 80
|