e2e: add getPersistentVolume helper function
e2e: add getPersistentVolume helper function

added getPersistentVolume helper function
to get the PV and also try if there is any API
error to improve the CI.

Signed-off-by: Madhu Rajanna <60fbf37a92c2a0908e31296d18dadbec5a4dae17@gmail.com>

ceph/ceph-csi,ceph/ceph-csi,ceph/ceph-csi,ceph/ceph-csi