Skip to content

Commit d887ddf

Browse files
committed
feat: upgrade to csi 1.1.0 with expand vol support
1 parent cda78e7 commit d887ddf

File tree

5 files changed

+720
-275
lines changed

5 files changed

+720
-275
lines changed

Gopkg.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727

2828
[[override]]
2929
name = "github.com/container-storage-interface/spec"
30-
revision = "ed0bb0e1557548aa028307f48728767cfe8f6345"
31-
# it's strange that "version = 1.0.0" does not work, use revision instead
32-
#version = "v1.0.0"
30+
version = "v1.1.0"
3331

3432
[[constraint]]
3533
name = "github.com/kubernetes-csi/csi-test"

pkg/blobfuse/controllerserver.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,8 @@ func (d *Driver) DeleteSnapshot(ctx context.Context, req *csi.DeleteSnapshotRequ
260260
func (d *Driver) ListSnapshots(ctx context.Context, req *csi.ListSnapshotsRequest) (*csi.ListSnapshotsResponse, error) {
261261
return nil, status.Error(codes.Unimplemented, "")
262262
}
263+
264+
// ControllerExpandVolume controller expand volume
265+
func (d *Driver) ControllerExpandVolume(ctx context.Context, req *csi.ControllerExpandVolumeRequest) (*csi.ControllerExpandVolumeResponse, error) {
266+
return nil, status.Error(codes.Unimplemented, "ControllerExpandVolume is not yet implemented")
267+
}

pkg/blobfuse/nodeserver.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,8 @@ func (d *Driver) NodeGetInfo(ctx context.Context, req *csi.NodeGetInfoRequest) (
232232
func (d *Driver) NodeGetVolumeStats(ctx context.Context, in *csi.NodeGetVolumeStatsRequest) (*csi.NodeGetVolumeStatsResponse, error) {
233233
return nil, status.Error(codes.Unimplemented, "")
234234
}
235+
236+
// NodeExpandVolume node expand volume
237+
func (d *Driver) NodeExpandVolume(ctx context.Context, req *csi.NodeExpandVolumeRequest) (*csi.NodeExpandVolumeResponse, error) {
238+
return nil, status.Error(codes.Unimplemented, fmt.Sprintf("NodeExpandVolume is not yet implemented"))
239+
}

0 commit comments

Comments
 (0)