From 894c20f79263ef82ef162bb49c749efbe19b686a Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Mon, 16 May 2022 12:53:51 +0530 Subject: [PATCH] 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 --- internal/nfs/driver/driver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/nfs/driver/driver.go b/internal/nfs/driver/driver.go index 088e83b16..8454ec664 100644 --- a/internal/nfs/driver/driver.go +++ b/internal/nfs/driver/driver.go @@ -48,6 +48,7 @@ func (fs *Driver) Run(conf *util.Config) { csi.ControllerServiceCapability_RPC_SINGLE_NODE_MULTI_WRITER, csi.ControllerServiceCapability_RPC_EXPAND_VOLUME, csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT, + csi.ControllerServiceCapability_RPC_CLONE_VOLUME, }) // VolumeCapabilities are validated by the CephFS Controller cd.AddVolumeCapabilityAccessModes([]csi.VolumeCapability_AccessMode_Mode{