mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
nfs: add support for pvc-pvc clone
This commit adds support for pvc-pvc clone. Only capability needed to be advertised, the underlying support is already provided by cephfs backend. Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
5983d5730a
commit
894c20f792
@ -48,6 +48,7 @@ func (fs *Driver) Run(conf *util.Config) {
|
|||||||
csi.ControllerServiceCapability_RPC_SINGLE_NODE_MULTI_WRITER,
|
csi.ControllerServiceCapability_RPC_SINGLE_NODE_MULTI_WRITER,
|
||||||
csi.ControllerServiceCapability_RPC_EXPAND_VOLUME,
|
csi.ControllerServiceCapability_RPC_EXPAND_VOLUME,
|
||||||
csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT,
|
csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT,
|
||||||
|
csi.ControllerServiceCapability_RPC_CLONE_VOLUME,
|
||||||
})
|
})
|
||||||
// VolumeCapabilities are validated by the CephFS Controller
|
// VolumeCapabilities are validated by the CephFS Controller
|
||||||
cd.AddVolumeCapabilityAccessModes([]csi.VolumeCapability_AccessMode_Mode{
|
cd.AddVolumeCapabilityAccessModes([]csi.VolumeCapability_AccessMode_Mode{
|
||||||
|
Loading…
Reference in New Issue
Block a user