2023-08-30 16:23:34 +02:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: nextcloud
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "5m"
|
2023-09-04 12:40:18 +02:00
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For"
|
2023-08-30 16:23:34 +02:00
|
|
|
cert-manager.io/issuer: cadoles-selfsigned-ca
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
tls:
|
|
|
|
- hosts:
|
2023-09-04 12:40:18 +02:00
|
|
|
- nxt.cadoles.lan
|
2023-08-30 16:23:34 +02:00
|
|
|
secretName: cadoles-selfsigned-ca
|
|
|
|
rules:
|
2023-09-04 12:40:18 +02:00
|
|
|
- host: nxt.cadoles.lan
|
2023-08-30 16:23:34 +02:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: nextcloud
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
|