From bd74a613bf6d6ec58308fa0d247b6f095bc23996 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Fri, 30 Oct 2026 10:50:28 +0100 Subject: [PATCH] =?UTF-8?q?manifests:=20contact-mailer-api=20ingress=20for?= =?UTF-8?q?=20api.felhom.eu=20(D35/R-1228,=20operator=20yes=202026-10-30)?= =?UTF-8?q?=20=E2=80=94=20the=20form's=20endpoint=20once=20the=20site=20is?= =?UTF-8?q?=20on=20Cloudflare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifests/contact-mailer.yaml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) 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