Still in development and very experimental
When changing resources on the cluster first remove modeules that rely on its credentials. This avoids passing outdated credentials to providers
terraform state rm module.zenotta-miners
terraform state rm module.zenotta-nodes
kubectl get pv | grep Released | awk '$1 {print$1}' | while read vol; do kubectl delete pv/${vol}; done
helm list --short | grep zenotta-miner | xargs -L1 helm uninstall
helm uninstall zenotta-node-release
kubectl get pv | tail -n+2 | awk '{print $1}' | xargs -I{} kubectl patch pv {} -p '{"metadata":{"finalizers": null}}'