bottlerocket-os / bottlerocket-os/bottlerocket-update-operator
0.2.0: Controller should gracefully handle node deletion coinciding with a WATCH stream reset
Open
component/controller
- Dominant language
- Rust
- Stars
- 220
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
**Issue or Feature Request:**
The controller uses [`into_iter_touched()`](https://docs.rs/kube-runtime/0.62.0/kube_runtime/watcher/enum.Event.html#method.into_iter_touched), which can miss deletion events under certain circumstances (see the linked docs).
We need to periodically refresh the entire `Store` object in the controller in case deletion events are missed.
Contributor guide
Assessment
This issue has not been assessed yet.