Drop redundant dynamic cluster mode
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

The dynamic mode produced a byte-identical cluster to authoritative:
RFC2136 update capability is a per-zone property (BindZone.dynamicUpdate
+ updateKeyRef render allow-update { key ... }), not a cluster role. The
external-dns tier is just an authoritative cluster whose zones allow
dynamic updates.

- remove BindMode dynamic from the enum and constants
- switch the external-dns sample to mode authoritative
- update README migration mapping
This commit is contained in:
2026-07-03 18:32:09 +10:00
parent 4092a25f4f
commit e60080efa2
4 changed files with 12 additions and 13 deletions
+6 -7
View File
@@ -7,20 +7,19 @@ import (
// BindMode selects the behaviour of a BindCluster and maps onto a classic
// BIND deployment role.
// - authoritative: serves signed/unsigned authoritative zones. Ordinal-0 is
// the primary that holds zone data; the remaining pods are secondaries that
// replicate via AXFR/IXFR + NOTIFY (optionally driven by a catalog zone).
// - authoritative: serves authoritative zones. Ordinal-0 is the primary that
// holds zone data; the remaining pods are secondaries that replicate via
// AXFR/IXFR + NOTIFY (optionally driven by a catalog zone). Zones that set
// spec.dynamicUpdate accept RFC2136 TSIG updates (the external-dns pattern),
// so no separate mode is needed for external-dns servers.
// - resolver: N identical recursive resolvers, no zone replication.
// - dynamic: like authoritative, but the primary accepts RFC2136 TSIG updates
// (the external-dns pattern); secondaries replicate the result.
//
// +kubebuilder:validation:Enum=authoritative;resolver;dynamic
// +kubebuilder:validation:Enum=authoritative;resolver
type BindMode string
const (
ModeAuthoritative BindMode = "authoritative"
ModeResolver BindMode = "resolver"
ModeDynamic BindMode = "dynamic"
)
// ClusterServiceSpec controls how the cluster is exposed to clients.