ceph-csi/internal
Madhu Rajanna a17eb07947 rbd: use RbdSnapName to check the image details
RbdSnapName holds the actual RBD image name which
got created during the CreateSnapshot operation.
RbdImageName holds the name of the parent from
which the snapshot is created. and the parent
is independent of snapshot and it can be deleted
any time for the same reason using the RbdSnapName
to check the rbd image details.

generate a temporary volume from the snapshot which
replaces the rbdImageName with RbdSnapName and use
it to check the image metadata.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6d14eeee70)
2021-06-21 09:38:26 +00:00
..
cephfs cleanup: correct nolint directive listing format 2021-04-09 07:24:47 +00:00
controller rbd: take lock when reconciling the PV 2021-04-07 11:46:27 +00:00
csi-common util: add nil check to default ControllerGetCapabilities() 2021-04-09 10:12:48 +00:00
journal rbd: store csi.storage.k8s.io/pvc/namespace metadata as Owner 2020-12-09 13:58:48 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd rbd: use RbdSnapName to check the image details 2021-06-21 09:38:26 +00:00
util cleanup: fix codespell error in internal/utils package 2021-06-18 03:32:30 +00:00