diff --git a/manifests/contact-mailer.yaml b/manifests/contact-mailer.yaml index 71855fd2..08b4dffc 100644 --- a/manifests/contact-mailer.yaml +++ b/manifests/contact-mailer.yaml @@ -142,4 +142,34 @@ spec: service: name: contact-mailer port: - number: 80 \ No newline at end of file + number: 80--- +# D35 / R-1228 (operator yes 2026-10-30): the website moves to Cloudflare Pages, which cannot run this mailer. The form +# posts here instead (website `formEndpoint` = https://api.felhom.eu/api/contact); the mailer's CORS already answers +# for https://felhom.eu and https://www.felhom.eu. DNS: api.felhom.eu CNAME → the home line, NOT proxied (HTTP-01). +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: contact-mailer-api + namespace: felhom-system + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + nginx.ingress.kubernetes.io/proxy-body-size: "25m" + nginx.ingress.kubernetes.io/proxy-read-timeout: "60" + nginx.ingress.kubernetes.io/proxy-send-timeout: "60" +spec: + ingressClassName: nginx-internal + tls: + - hosts: + - api.felhom.eu + secretName: felhom-api-tls + rules: + - host: api.felhom.eu + http: + paths: + - path: /api + pathType: Prefix + backend: + service: + name: contact-mailer + port: + number: 80