pkg/codegen/cmd/injection-gen
Matt Moore df29e2a20a
Avoid second lister fetch during finalizer reconciliation. (#2596)
I noticed that the finalizer manipulation code was performing a second fetch of the resource from the lister cache to determine the differences in finalizers when the finalizers are being modify immediately above each callsite.

This changes both call sites to simply pass through the "desired finalizers" as a new parameter (instead of assigning them), which lets us use the unmodified resource and avoid the redundant lister cache fetch.
2022-09-20 22:43:09 +00:00
..
args Generate reconcilers for resources out of tree. (#1175) 2020-03-25 11:34:51 -07:00
generators Avoid second lister fetch during finalizer reconciliation. (#2596) 2022-09-20 22:43:09 +00:00
main.go switch to klog/v2 (#2386) 2022-01-11 13:02:14 -08:00