internal-dns (Fix): own-named RBAC, lost since #1763 #1787
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1787
Loading…
Reference in a new issue
No description provided.
Delete branch "internal-dns-rbac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Incident fix. mini internal-dns external-dns (owner mini, writes *.apps.caosh.int into the c1 PowerDNS) has had NO RBAC since #1763: both external-dns releases rendered the chart ClusterRole external-dns / external-dns-viewer under one cluster-scoped name; #1763 set rbac.create=false on public-dns, and helm deleted the objects from that release previous manifest, which were the ones internal-dns used. Only public-dns-external-dns exists now (checked: kubectl auth can-i list for the internal SA = no for listenersets, httproutes, tlsroutes, gateways, dnsendpoints, namespaces).
Symptoms: the old pod kept running on watches opened before the deletion, so it never saw route removals (vault.apps.caosh.int survived the mini Vault deletion, logged All records are already up to date). A restart on 2026-11-22 left it hung at startup: every controller metric 0, no sync ever. Existing records keep resolving; no record changes happen until this lands.
Fix: rbac.yaml with ClusterRole/ClusterRoleBinding internal-dns-external-dns (rules mirror chart 1.24.0, same as public-dns), rbac.create=false on the internal release so neither release can delete the other RBAC again.
Checks: kustomize build OK, server dry-run OK, gate green.