hey guys, how do I protect cluster from deletion?
due to crazy bug that rancher sometimes just deletes managed clusters when cluster configuration is changed using terraform provider https://github.com/rancher/rancher/issues/38833
I want somehow to protect clusters from accidental delete
09/14/2022, 10:02 AM
You know, that you can disable the deletion in the Terraform resource itself?
09/14/2022, 12:30 PM
the thing is my terraform change is not doing any deletions, it just change cluster configuration like change label but somehow this leads to cluster deletion
I am not 100% sure if that is rancher API bug or terraform provider
so what I am looking for is some sort of a cluster resource lock which will prevent it from deletion unless it is unlocked
09/14/2022, 12:33 PM
I don't think that there is a locking feature in Rancher itself. I strongly recommend to raise a bug in GitHub