kubernetes/pkg/controller/storageversiongc
Ogulcan Aydogan bb7ed59999
refactor: use AddEventHandlerWithOptions in storageversion controllers
Migrate plain AddEventHandler calls in the storageversion GC and
migrator controllers to AddEventHandlerWithOptions with
cache.HandlerOptions{Logger: &logger} so the contextual logger is
propagated into the informer handler goroutines.

The logger is already in scope at each call site (klog.FromContext(ctx)),
and the handler functions already accept a klog.Logger argument, so
this is a pure API migration with no behaviour change.

Fixes: https://github.com/kubernetes/kubernetes/issues/126379
Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
2026-06-10 22:57:54 +01:00
..
gc_controller.go refactor: use AddEventHandlerWithOptions in storageversion controllers 2026-06-10 22:57:54 +01:00
gc_controller_test.go Merge pull request #134432 from Karthik-K-N/fix-sv-test 2025-11-05 06:56:52 -08:00
OWNERS Clean up OWNERS for all api machinery owned controllers 2025-10-24 13:38:10 -04:00