infra4talos/apps-kustomized/nextcloud/ingress.yaml

29 lines
654 B
YAML
Raw Permalink Normal View History

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: armnleg.martyn.berlin
nginx.ingress.kubernetes.io/proxy-body-size: 200m
labels:
app.kubernetes.io/name: nextcloud
name: nextcloud
namespace: nextcloud
spec:
ingressClassName: nginx
rules:
- host: nextcloud.martyn.berlin
http:
paths:
- backend:
service:
name: nextcloud
port:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- nextcloud.martyn.berlin
secretName: nextcloud-tls