mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
nfs: support ExpandVolume CSI procedure
There is not much the NFS-provisioner needs to do to expand a volume, everything is handled by the CephFS components. NFS does not need a resize on the node, so only ControllerExpandVolume is required. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
bbecb81d4f
commit
36e51402cb
@ -150,3 +150,12 @@ func (cs *Server) DeleteVolume(
|
||||
|
||||
return cs.backendServer.DeleteVolume(ctx, req)
|
||||
}
|
||||
|
||||
// ControllerExpandVolume calls the backend (CephFS) procedure to expand the
|
||||
// volume. There is no interaction with the NFS-server needed to publish the
|
||||
// new size.
|
||||
func (cs *Server) ControllerExpandVolume(
|
||||
ctx context.Context,
|
||||
req *csi.ControllerExpandVolumeRequest) (*csi.ControllerExpandVolumeResponse, error) {
|
||||
return cs.backendServer.ControllerExpandVolume(ctx, req)
|
||||
}
|
||||
|
Reference in New Issue
Block a user