forked from rook/rook
delete csi-related directories from /var/lib/rook that match the suffix `.csi.ceph.com`. these folders were used in earlier versions when rook managed cephcsi directly. in later versions, logs and data are redirected to /var/lib/cephcsi, but legacy paths may still exist and require cleanup during uninstall. this change improves cleanup completeness for odf 4.18 and earlier. example of directories removed: - /var/lib/rook/openshift-storage.cephfs.csi.ceph.com - /var/lib/rook/openshift-storage.rbd.csi.ceph.com Signed-off-by: Oded Viner <oviner@redhat.com>