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
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
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.
The text was updated successfully, but these errors were encountered: