Stop KeaCluster reconcile hot-loop
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful

Merge Service labels/annotations instead of replacing them, keep allocated
NodePorts and set TargetPort so steady-state reconciles are no-ops, and drop
the per-reconcile config-reload (running pods never see new config; a config
change rolls the StatefulSet).
This commit is contained in:
2026-10-05 22:15:09 +11:00
parent dcad0a11ea
commit 682b6b64be
5 changed files with 105 additions and 131 deletions
+2 -5
View File
@@ -2,16 +2,13 @@ package controller
import (
ctrl "sigs.k8s.io/controller-runtime"
"git.unkin.net/unkin/kea-operator/internal/kea"
)
// SetupAll wires every reconciler into the manager.
func SetupAll(mgr ctrl.Manager) error {
if err := (&KeaClusterReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Control: kea.NewControlClient(),
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
return err
}