mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-12 17:30:19 +00:00
b7505c29e2
This commit adds capability to genVolFromVolumeOptions() to fetch
mapped clusted-id & mon ips for mirrored PVC on secondary cluster
which may have different cluster-id.
This is required for NodeStageVolume().
We also don't need to check for mapping during volume create requests,
so it can be disabled by passing a bool checkClusterIDMapping as false.
GetMonsAndClusterID() is modified to accept bool checkClusterIDMapping
based on which clustermapping is checked to fetch mapped cluster-id and
mon-ips.
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cephfs_util.go | ||
clone_test.go | ||
clone.go | ||
controllerserver.go | ||
driver.go | ||
errors.go | ||
fsjournal.go | ||
identityserver.go | ||
nodeserver.go | ||
snapshot.go | ||
util.go | ||
volume.go | ||
volumemounter.go | ||
volumeoptions.go |