1
0
Fork 0
distrust-stack/kustomizations/nextcloud/ingress.yaml

25 lines
525 B
YAML
Raw Normal View History

2023-11-11 18:12:42 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nextcloud
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: nextcloud.distrust.co
spec:
ingressClassName: nginx
rules:
- host: nextcloud.distrust.co
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nextcloud
port:
number: 80
tls:
- hosts:
- nextcloud.distrust.co
secretName: website-tls