Bump bind-operator to v0.2.2 (config-hash rolling restart) #254
Reference in New Issue
Block a user
Delete Branch "benvin/bind-operator-0.2.2"
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?
Why
v0.2.2 (bind-operator #10) stamps a
bind.unkin.net/config-hashon the pod template, so a ConfigMap orkeys.confchange flips the hash and triggers an operator-driven rolling restart. This fixes the class of bug where config edits (ACLs, forwarders,validate-except, primary address, TSIG rotation) never reached running pods — they held a startup snapshot and needed manual pod deletes.Changes
bind-system/deployment.yaml) and the pulled CRD bundle URL (bind-system/kustomization.yaml) tov0.2.2.bind-tsig-apiimage (bind-internal/tsig-api/tsig-api.yaml) tov0.2.2.CRDs are unchanged from v0.2.1 (controller-only change), so the generated kubeconform schemas need no update.
Validation
bind-systemrenders with the v0.2.2 CRD bundle; pre-commit clean.Deploy note
When the v0.2.2 operator first reconciles it stamps the config-hash annotation, triggering one rolling restart per bind StatefulSet — expected, and it also pulls in any already-pending config. From then on, config changes roll pods automatically.