Closed davidcassany closed 2 months ago
For full reference other approaches were considered at a time by having some pre-delete hook to run a cleanup logic https://github.com/rancher/elemental-operator/pull/536 This could be an option to try to automate cleanup of an uninstalling operation, feels a bit hacky and error prone, I would not consider it for now, referencing it here in case we need it. In such case the current PR would still be needed as a sanity check.
With #775 reinstalling elemental-operator with helm results in a broken installation. This change is to prevent reinstalling CRDs if there are still instances pending to be deleted.
This will prevent from having silently broken installations. This is the same issue as in #515