mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Automatic merge from submit-queue (batch tested with PRs 41121, 40048, 40502, 41136, 40759) Shared informer custom resync periods **What this PR does / why we need it**: add the ability for event handlers to specify their own distinct resync periods to a shared informer **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #26406 **Special notes for your reviewer**: This is part of my series of PRs to convert as much of the code base to using generated shared informers as possible. Assuming this merges, we'll also need #40385, and I'll probably close #40097 and replace it with a series of individual PRs (1 per controller change). Assuming we get close to agreement on the implementation, I can look at adding more unit tests. **Release note**: ```release-note ``` @smarterclayton @deads2k @liggitt @sttts @derekwaynecarr @pmorie @lavalamp @wojtek-t @gmarek @timothysc @jayunit100 @kubernetes/sig-api-machinery-pr-reviews @kubernetes/sig-scalability-pr-reviews