Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Support logical deletion of objects when deleting BundleDeployments #99

Open
exdx opened this issue Mar 2, 2022 · 4 comments
Open

Support logical deletion of objects when deleting BundleDeployments #99

exdx opened this issue Mar 2, 2022 · 4 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone

Comments

@exdx
Copy link
Member

exdx commented Mar 2, 2022

The order in which objects composing operators or other applications on-cluster are removed matters for the successful removal of the application from the cluster. The default behavior is to mark all objects for deletion and remove them when the parent resource, in this case the BundleDeployment, is deleted. However a more fine grained removal policy may be desirable, which may be achievable entirely by finalizers or potentially by other resources.

See operator-framework/operator-lifecycle-manager#2235 for an example of an issue that can arise when deleting objects all at once: if the roles are removed before the deployment the operator loses the ability to cleanup after itself.

The goal is to support an ordered removal of objects related to the installation such that the cluster can be in the same state as it was prior to the installation when the operator is uninstalled.

@exdx exdx added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Mar 2, 2022
@exdx exdx added this to the 0.2 milestone Mar 2, 2022
@timflannagan timflannagan modified the milestones: 0.2, 0.3 Mar 14, 2022
@exdx
Copy link
Member Author

exdx commented Mar 14, 2022

Moving to 0.3 milestone -- this is something we definitely want to support sooner rather than later, to ensure a clean teardown of operators and other applications.

@exdx
Copy link
Member Author

exdx commented Mar 31, 2022

Moving to a design ticket to architect this feature out.

@exdx
Copy link
Member Author

exdx commented Mar 31, 2022

Move to backlog for now.

@exdx exdx modified the milestones: 0.3, backlog Mar 31, 2022
@oceanc80 oceanc80 changed the title Support logical deletion of objects when deleting BundleInstances Support logical deletion of objects when deleting BundleDeployments Aug 22, 2022
@github-actions
Copy link

This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

2 participants