Files
SRCmail/deploy/k8s/overlays/dev/patch-ingress.yaml
T

26 lines
708 B
YAML

# Dev now uses letsencrypt-prod so the sandbox certificate is trusted by
# browsers. Both letsencrypt-staging and letsencrypt-prod ClusterIssuers
# exist on the dev-k8s cluster (see VNCiAC-dev-cluster-runbook.md §7).
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vncmail-plus
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- hosts:
- vncmail.sandbox.vnc.de
secretName: vncmail-plus-tls
rules:
- host: vncmail.sandbox.vnc.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: vncmail-plus
port:
number: 80