Skip to content

Commit 2d36f53

Browse files
committed
Rename driver to follow CSI plugin naming conventions
1 parent 6c3e1fd commit 2d36f53

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deploy/kubernetes/csi-nfs-driverinfo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: storage.k8s.io/v1beta1
22
kind: CSIDriver
33
metadata:
4-
name: csi-nfsplugin
4+
name: nfs.csi.k8s.io
55
spec:
66
attachRequired: false
77
volumeLifecycleModes:

examples/kubernetes/nginx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
capacity:
1111
storage: 100Gi
1212
csi:
13-
driver: csi-nfsplugin
13+
driver: nfs.csi.k8s.io
1414
volumeHandle: data-id
1515
volumeAttributes:
1616
server: 127.0.0.1

pkg/nfs/nfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type nfsDriver struct {
3636
}
3737

3838
const (
39-
driverName = "csi-nfsplugin"
39+
driverName = "nfs.csi.k8s.io"
4040
)
4141

4242
var (

test/nfs-testdriver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func initNFSDriver(name string, manifests ...string) testsuites.TestDriver {
5454

5555
func InitNFSDriver() testsuites.TestDriver {
5656

57-
return initNFSDriver("csi-nfsplugin",
57+
return initNFSDriver("nfs.csi.k8s.io",
5858
"csi-attacher-nfsplugin.yaml",
5959
"csi-attacher-rbac.yaml",
6060
"csi-nodeplugin-nfsplugin.yaml",

0 commit comments

Comments
 (0)