Rename driver to follow CSI plugin naming conventions
This commit is contained in:
parent
6c3e1fd23d
commit
2d36f5333e
@ -1,7 +1,7 @@
|
|||||||
apiVersion: storage.k8s.io/v1beta1
|
apiVersion: storage.k8s.io/v1beta1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-nfsplugin
|
name: nfs.csi.k8s.io
|
||||||
spec:
|
spec:
|
||||||
attachRequired: false
|
attachRequired: false
|
||||||
volumeLifecycleModes:
|
volumeLifecycleModes:
|
||||||
|
|||||||
@ -10,7 +10,7 @@ spec:
|
|||||||
capacity:
|
capacity:
|
||||||
storage: 100Gi
|
storage: 100Gi
|
||||||
csi:
|
csi:
|
||||||
driver: csi-nfsplugin
|
driver: nfs.csi.k8s.io
|
||||||
volumeHandle: data-id
|
volumeHandle: data-id
|
||||||
volumeAttributes:
|
volumeAttributes:
|
||||||
server: 127.0.0.1
|
server: 127.0.0.1
|
||||||
|
|||||||
@ -36,7 +36,7 @@ type nfsDriver struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
driverName = "csi-nfsplugin"
|
driverName = "nfs.csi.k8s.io"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -54,7 +54,7 @@ func initNFSDriver(name string, manifests ...string) testsuites.TestDriver {
|
|||||||
|
|
||||||
func InitNFSDriver() testsuites.TestDriver {
|
func InitNFSDriver() testsuites.TestDriver {
|
||||||
|
|
||||||
return initNFSDriver("csi-nfsplugin",
|
return initNFSDriver("nfs.csi.k8s.io",
|
||||||
"csi-attacher-nfsplugin.yaml",
|
"csi-attacher-nfsplugin.yaml",
|
||||||
"csi-attacher-rbac.yaml",
|
"csi-attacher-rbac.yaml",
|
||||||
"csi-nodeplugin-nfsplugin.yaml",
|
"csi-nodeplugin-nfsplugin.yaml",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user