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

34 lines
708 B
YAML
Raw Normal View History

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