operand-deployment-lifecycle-manager icon indicating copy to clipboard operation
operand-deployment-lifecycle-manager copied to clipboard

Update the Operator deletion logic

Open horis233 opened this issue 4 years ago • 0 comments

/kind feature

Describe the solution you'd like [A clear and concise description of what you want to happen.]

Currently, ODLM will delete CSV first then deleting the Subscription, which may cause after the deletion of the CSV, OLM reconciles the subscription and recreates a new CSV. According to the RH document, we should delete the subscription first then deleting the CSV.

https://docs.openshift.com/container-platform/4.6/operators/admin/olm-deleting-operators-from-cluster.html#olm-deleting-operator-from-a-cluster-using-cli_olm-deleting-operators-from-a-cluster

horis233 avatar Jun 07 '21 16:06 horis233