Skip to content

Commit 2e0e87f

Browse files
authored
Updated to CSI 1.9
1 parent d437900 commit 2e0e87f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

frontend/csi/controller_server.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,13 @@ func (p *Plugin) ControllerGetVolume(
10181018
return nil, status.Error(codes.Unimplemented, "")
10191019
}
10201020

1021+
func (p *Plugin) ControllerModifyVolume(
1022+
_ context.Context, _ *csi.ControllerModifyVolumeRequest,
1023+
) (*csi.ControllerModifyVolumeResponse, error) {
1024+
// Trident doesn't support ControllerModifyVolume
1025+
return nil, status.Error(codes.Unimplemented, "")
1026+
}
1027+
10211028
func (p *Plugin) getCSIVolumeFromTridentVolume(
10221029
ctx context.Context, volume *storage.VolumeExternal,
10231030
) (*csi.Volume, error) {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/aws/aws-sdk-go-v2/service/fsx v1.49.2
1616
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.34.2
1717
github.com/cenkalti/backoff/v4 v4.3.0
18-
github.com/container-storage-interface/spec v1.8.0
18+
github.com/container-storage-interface/spec v1.9.0
1919
github.com/docker/go-plugins-helpers v0.0.0-20240701071450-45e2431495c8
2020
github.com/dustin/go-humanize v1.0.2-0.20231009183035-961771c7ab99
2121
github.com/elastic/go-sysinfo v1.14.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL
105105
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
106106
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
107107
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
108-
github.com/container-storage-interface/spec v1.8.0 h1:D0vhF3PLIZwlwZEf2eNbpujGCNwspwTYf2idJRJx4xI=
109-
github.com/container-storage-interface/spec v1.8.0/go.mod h1:ROLik+GhPslwwWRNFF1KasPzroNARibH2rfz1rkg4H0=
108+
github.com/container-storage-interface/spec v1.9.0 h1:zKtX4STsq31Knz3gciCYCi1SXtO2HJDecIjDVboYavY=
109+
github.com/container-storage-interface/spec v1.9.0/go.mod h1:ZfDu+3ZRyeVqxZM0Ds19MVLkN2d1XJ5MAfi1L3VjlT0=
110110
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=
111111
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
112112
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=

0 commit comments

Comments
 (0)