mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 11:36:50 +00:00
Repoint CoreDNS rewrite at ha-authentik-postgres (has port 61432)
Follow-up to 8b8549e - pg-authentik-rw only listens on 5432, the app
tier needs 61432. See that commit for the full explanation.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
8b8549e432
commit
cfbe844ecd
@@ -44,12 +44,19 @@ data:
|
||||
# Multi-site active failover pilot (see
|
||||
# /home/scooby/.claude/plans/jiggly-snacking-iverson.md): home's
|
||||
# own pods resolving the floating pg-authentik.ha.huskypup.net
|
||||
# record always go straight to the local CNPG -rw service instead
|
||||
# of round-tripping out through the UniFi WAN port-forward and
|
||||
# back in - this UniFi doesn't support NAT hairpin/loopback for
|
||||
# its own forwarded ports (confirmed live 2026-08-20: DNS
|
||||
# resolved fine, TCP connect failed).
|
||||
rewrite name pg-authentik.ha.huskypup.net pg-authentik-rw.authentik.svc.cluster.local
|
||||
# record always go straight to a local service instead of
|
||||
# round-tripping out through the UniFi WAN port-forward and back
|
||||
# in - this UniFi doesn't support NAT hairpin/loopback for its
|
||||
# own forwarded ports (confirmed live 2026-08-20: DNS resolved
|
||||
# fine, TCP connect failed). Points at ha-authentik-postgres, NOT
|
||||
# CNPG's own pg-authentik-rw directly - rewrite only changes the
|
||||
# resolved name, not the port a client then connects to, and the
|
||||
# app tier is configured for port 61432 (matching the external
|
||||
# floating hostname) - pg-authentik-rw only listens on 5432,
|
||||
# ha-authentik-postgres additionally listens on 61432 (see
|
||||
# infrastructure/authentik/manifests/ha-postgres-nodeport.yaml)
|
||||
# specifically so this rewrite target actually has that port.
|
||||
rewrite name pg-authentik.ha.huskypup.net ha-authentik-postgres.authentik.svc.cluster.local
|
||||
|
||||
kubernetes cluster.local in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
|
||||
Reference in New Issue
Block a user