Conversation
Use the reconciliation class lookup during leader promotion to avoid enqueuing resources assigned to another class. Use an explicit promotion filter when the controller supplies one. Signed-off-by: Elvand Lie Nababan <elvandlie@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Elvand-Lie The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Elvand-Lie. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3450 +/- ##
=======================================
Coverage 75.41% 75.41%
=======================================
Files 189 189
Lines 8387 8387
=======================================
Hits 6325 6325
Misses 1818 1818
Partials 244 244 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Elvand Lie Nababan <elvandlie@gmail.com>
/kind bug
Fixes #2526
Leader promotion currently queues every resource, even when the generated reconciler skips resources assigned to another class. Use the same class annotation lookup during promotion in
NewImplandNewReconciler. An explicitPromoteFilterFunctakes precedence inNewImpl.Testing