k8s-manifests/jupyter/overlays/prod/uu/jupyterhub-ingress.yml

32 lines
665 B
YAML
Raw Permalink Normal View History

2024-02-12 10:17:55 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jupyterhub-ingress
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
defaultBackend:
service:
name: proxy-public
port:
number: 8443
tls:
- hosts:
- uu-jupyter.drive.sunet.se
secretName: tls-secret
rules:
- host: uu-jupyter.drive.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: proxy-public
port:
number: 80