31 lines
626 B
YAML
31 lines
626 B
YAML
|
---
|
||
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: jupyterhub-ingress
|
||
|
annotations:
|
||
|
cert-manager.io/issuer: "letsencrypt"
|
||
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||
|
spec:
|
||
|
defaultBackend:
|
||
|
service:
|
||
|
name: proxy-public
|
||
|
port:
|
||
|
number: 8443
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- vr-jupyter.drive.sunet.se
|
||
|
secretName: tls-secret
|
||
|
ingressClassName: nginx
|
||
|
rules:
|
||
|
- host: vr-jupyter.drive.sunet.se
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: proxy-public
|
||
|
port:
|
||
|
number: 80
|