Merge pull request #17520 from rook/mergify/bp/release-1.19/pr-17286

doc: add CSI operator resource cleanup steps to teardown guide (backport #17286)
This commit is contained in:
Travis Nielsen authored and GitHub committed 2026-05-12 13:37:22 -10:00
commit d7fb036beb
1 file changed
+13
@@ -75,6 +75,19 @@ kubectl delete storageclass csi-cephfs
The cleanup jobs might not start if the resources created on top of Rook Cluster are not deleted completely.
See [deleting block and file artifacts](#delete-the-block-and-file-artifacts)
### Delete the CSI Operator Resources
These commands clean up the CSI operator resources.
```console
kubectl -n rook-ceph delete operatorconfigs.csi.ceph.io --all
kubectl -n rook-ceph delete drivers.csi.ceph.io --all
kubectl -n rook-ceph delete clientprofiles.csi.ceph.io --all
kubectl -n rook-ceph delete clientprofilemappings.csi.ceph.io --all
kubectl -n rook-ceph delete cephconnections.csi.ceph.io --all
kubectl delete -f csi-operator.yaml
```
### Delete the Operator Resources
Remove the Rook operator, RBAC, and CRDs, and the `rook-ceph` namespace.