k8s-manifests/jupyter/overlays/test/sunet/jupyterhub-ingress.yml

33 lines
682 B
YAML
Raw Permalink Normal View History

2023-09-25 14:33:39 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jupyterhub-ingress
annotations:
2024-05-03 13:11:07 +00:00
kubernetes.io/ingress.class: nginx
2024-11-21 10:03:00 +00:00
cert-manager.io/issuer: "letsencrypt"
acme.cert-manager.io/http01-edit-in-place: "true"
2023-09-25 14:33:39 +00:00
spec:
2024-05-03 13:11:07 +00:00
ingressClassName: nginx
2023-09-25 14:33:39 +00:00
defaultBackend:
service:
name: proxy-public
port:
2024-05-03 13:11:07 +00:00
number: 80
2023-09-25 14:33:39 +00:00
tls:
- hosts:
2024-02-05 10:43:06 +00:00
- sunet-jupyter.drive.test.sunet.se
2023-09-25 14:33:39 +00:00
secretName: tls-secret
rules:
2024-02-05 10:43:06 +00:00
- host: sunet-jupyter.drive.test.sunet.se
2023-09-25 14:33:39 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: proxy-public
port:
number: 80