Skip to content

Throw exception or Log Warn PrimaryUpdateAndCacheUtils if resourceVersion parsing is turned off #2792

@csviri

Description

@csviri

The is turned off by default:
parseResourceVersionsForEventFilteringAndCaching

that means PrimaryUpdateAndCacheUtils internal cache approach will work only if no external updates happen to the custom resource while the status is being updated.

In other words 100% guarantee is made only if parseResourceVersionsForEventFilteringAndCaching is turned on.

We should revisit and either make this explicit or more in the docs, or event we could throw an exception to prevent data loss to prompt the user to turn that flag on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions