1
0
Fork 0
home-stack-kustomize/kustomize/bases/nextcloud/ingress.yaml

22 lines
501 B
YAML
Raw Normal View History

2020-08-02 03:40:27 +00:00
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: nextcloud
labels:
2021-08-26 16:42:32 +00:00
app.kubernetes.io/name: nextcloud
2020-08-02 03:40:27 +00:00
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
cert-manager.io/cluster-issuer: letsencrypt
spec:
tls:
- hosts:
- ${NEXTCLOUD_EXTERNAL_HOST}
secretName: letsencrypt-cert
rules:
- host: ${NEXTCLOUD_EXTERNAL_HOST}
http:
paths:
- path: /
backend:
serviceName: nextcloud
servicePort: http