Repository navigation
Changed
- Breaking:
reconciler.Reconciler.Recorderis now a
k8s.io/client-go/tools/events.EventRecorder(the events.k8s.io API), not a
record.EventRecorder. Passmgr.GetEventRecorder(name)instead of the
deprecatedmgr.GetEventRecorderFor(name); a test fake is
events.NewFakeRecorder. Events now carry an action:Applyfor
PartiallyApplied,Reconcilefor a failed reconcile (#6).
Fixed
reconciler: an idle resource is no longer re-planned and re-applied
continuously.SetupWithManagerreconciled on every watch event, including
the reconciler's own status write, so with a realistic plan latency a
resource hit its target about once a second instead of once per
DriftInterval. The primary watch now filters on
GenerationChangedPredicate: a spec change or a deletion still reconciles
at once; an edit to only labels, annotations or status waits for the drift
interval (#21).
Full Changelog: v0.0.1...v0.0.2