mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
cephfs: advertise group snapshot capability
Advertise VOLUME_GROUP_SNAPSHOT capability from the cephfs driver. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
6b3484f285
commit
f17ea38736
@ -146,6 +146,10 @@ func (fs *Driver) Run(conf *util.Config) {
|
||||
csi.VolumeCapability_AccessMode_SINGLE_NODE_MULTI_WRITER,
|
||||
csi.VolumeCapability_AccessMode_SINGLE_NODE_SINGLE_WRITER,
|
||||
})
|
||||
|
||||
fs.cd.AddGroupControllerServiceCapabilities([]csi.GroupControllerServiceCapability_RPC_Type{
|
||||
csi.GroupControllerServiceCapability_RPC_CREATE_DELETE_GET_VOLUME_GROUP_SNAPSHOT,
|
||||
})
|
||||
}
|
||||
// Create gRPC servers
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user