From 4c3b917e54abed16f7dcf116b55bc0e138443be6 Mon Sep 17 00:00:00 2001 From: rock Date: Wed, 4 Nov 2026 03:51:34 +0800 Subject: [PATCH] fix(coredns): declare the poimen rewrite in the source of truth poimen.riotpiao.com resolved only because someone edited the live coredns ConfigMap by hand. Neither terraform/files/coredns/Corefile nor the Talos machine config carried the line, so the next Talos reconcile would have deleted it and broken in-cluster resolution of a heavily used service. Live and source now agree on both hostnames the retirement touched. --- terraform/files/coredns/Corefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/files/coredns/Corefile b/terraform/files/coredns/Corefile index b1acc62..df3f3e6 100644 --- a/terraform/files/coredns/Corefile +++ b/terraform/files/coredns/Corefile @@ -36,6 +36,10 @@ rewrite name paperless.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local rewrite name img.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local rewrite name api.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local + # poimen ran only in the live ConfigMap, never in this file or the Talos + # machine config. The next Talos reconcile would have deleted it and broken + # in-cluster resolution. Declared here so the source of truth carries it. + rewrite name poimen.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local rewrite name gotify.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local rewrite name pi.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local rewrite name igotify.riotpiao.com ingress-nginx-controller.ingress-nginx.svc.cluster.local