Fix csi-driver scrubber task walking the whole PV filesystems ($KUBELETDIR/pods) where it only needs to find ephemeral_data.json files at a specific depth ($KUBELETDIR/pods/$POD/volumes/kubernetes.io~csi/$PVC/ephemeral_data.json). This causes lots of problems when pods are using PVs containing lots of files/dirs and is even worse when the PV is using another CSI such as NFS.
Fix csi-driver scrubber task walking the whole PV filesystems ($KUBELETDIR/pods) where it only needs to find ephemeral_data.json files at a specific depth ($KUBELETDIR/pods/$POD/volumes/kubernetes.io~csi/$PVC/ephemeral_data.json). This causes lots of problems when pods are using PVs containing lots of files/dirs and is even worse when the PV is using another CSI such as NFS.
Signed-off-by: Gabriel Barazer gabriel@barazer.net