LeaderAwareFuncs in genreconciler do not respect classValue #2526
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
On leader promotion, the controller will enqueue all known instances of
Kind
without filtering on the providedclassValue
.It is only in
Reconcile(key)
that theKind
is filtered and prevented from calling down intoReconcileKind
The side effect here is every
Kind
is enqueued and then noop'ed from the queue. Not a huge issue, but for a cluster with many instances of severalkinds
, it will be extra work each reconciler does not need to do.Possible Solution
Perhaps we generate a default filter function that can be overloaded if one is provided when we generate a reconciler with a
classValue
?The text was updated successfully, but these errors were encountered: