Commit 377828d
feat: ReconcileUtils for strongly consistent updates (operator-framework#3106)
- Adds utility that provides methods to update resources using comparable resource versions
- Integrates this utility to the core of the framework (thus simplifying `ReconciliationDispatcher`)
- note that this introduces a change in the behavior for the `UpdateControl.patchStatus` (and others), since it won't trigger the reconiliation for the event in that update.
- Renames former `ReconcilerUtils` to `ReconcilerUtilsInternal`, this is breaking but that utils was never advertised for non-internal usage
- Includes also fixes for ControllerEventSource event filtering
- Improves TemporaryResourceCache event filtering algorithm
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Steve Hawkins <shawkins@redhat.com>1 parent 429c2c5 commit 377828d
2 files changed
Lines changed: 1181 additions & 0 deletions
File tree
- operator-framework-core/src
- main/java/io/javaoperatorsdk/operator/api/reconciler
- test/java/io/javaoperatorsdk/operator/api/reconciler
0 commit comments