[Housekeeping] Use passthrough workflowstore to perform CRD terminations / manipulations #2857
Labels
good first issue
Good for newcomers
hacktoberfest
housekeeping
Issues that help maintain flyte and keep it tech-debt free
propeller
Issues related to flyte propeller
Milestone
Describe the issue
FlytePropeller uses the workflowstore to abstract FltyeWorkflow CRD updates and retrievals from the k8s API. To provide additional functionality, this API is designed to wrap other implementations with additional layers. In the default-case this manifests as:
(1) the passthrough workflowstore which is a basic overlay of the k8s API.
(2) the resource version caching workflowstore which uses the k8s resource version to mitigate processing or updating stale workflows.
PRs for clearing managed fields from the CRD and tracking terminated workflows were implemented in the resource version caching workflowstore. This functionality should really be performed at the passthrough workflowstore level, or in another wrapped workflowstore.
What if we do not do this?
If users change configuration to remove the resource version caching workflowstore and instead use only the passthrough workflowstore then they will not benefit from these improvements.
Related component(s)
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: