-
Notifications
You must be signed in to change notification settings - Fork 565
Closed
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Milestone
Description
Feature Request
Is your feature request related to a problem? Please describe.
As a cluster-admin I can instruct OLM that I want to remove all Operands before removing the Operator, so that I don't end up with orphaned workloads.
Why is this important:
Orphaned workloads are hard to clean up. After the Operator has been removed deleting the custom resource does not clean up secondary resources. It can be hard to find these resources as there is no obligation to put owner references or labels to them. It is probably impossible to find when those resources are outside of the cluster.
Describe the solution you'd like
- Operands are not automatically removed
- CRDs are not automatically removed
- Upon Operator uninstall a cluster-admin can opt-in to the clean up behavior
- Clean includes Operands (Custom Resource instances) and Custom Resource Definitions
The Operand removal should have timeoutHitting the Operand removal timeout should NOT fail Operator removalHitting the timeout should create an alert event
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.