Commit Graph

13 Commits

Author SHA1 Message Date
Alejandro Ruiz d9be1e6a05
Add "ctx" label to lasso handler metrics (#156) 2025-07-04 15:57:56 -04:00
Chad Roberts 0e3b207abb
Fix potential panic in observeDeletedObjectAfterFinalize where recentDeletions could be nil (#165)
* Fix potential panic in observeDeletedObjectAfterFinalize where recentDeletions could be nil

* Update test to cover latest panic fix
2025-06-23 16:56:24 -04:00
Alejandro Ruiz 6f565c15d7
Fix panic when SharedHandler.Register is never called (#164)
* add failing test

* Fix panic when SharedHandler.Register is never called
2025-06-23 12:09:23 -04:00
Alejandro Ruiz d35c3dff56
Avoid race-condition removing object with multiple finalizers (#160)
* Add (failing) unit tests

* Allow retryAfter via custom error type

* Skip OnChange for just-deleted resources

* Fast-track objects not marked for deletion
2025-06-03 06:58:58 -04:00
Ricardo Weir 6bec1c42ea Add metrics 2022-02-15 16:07:42 -07:00
michelia 5eb28ac4f6 expose metrics for controller reconciliation and work queue 2022-02-14 17:07:12 -07:00
Darren Shepherd a3ff816367 Don't hold lock while handlers are running 2021-05-25 09:43:41 -07:00
Darren Shepherd f563295372 Use read lock to avoid concurrency issues 2021-05-20 12:12:30 -07:00
Darren Shepherd 459cd42cfd Don't propagate zero value runtime.Object between handlers 2021-03-25 16:09:05 -07:00
Darren Shepherd 1ca69e6537 Add support for unstructured watches based on gvk 2021-02-10 16:27:36 -07:00
Darren Shepherd 8079eb2290 Refactor to allow mode that does not require RESTMapper to be invoked 2020-05-15 08:52:39 -07:00
rmweir 0e42fdc3e0 return non ignore errs 2020-05-13 16:06:25 -07:00
Darren Shepherd 6cfd718cfe Initial Commit 2020-04-15 02:14:08 -07:00