Merge pull request #26 from wozniakjan/issue19/fix_drivername

Rename driver to follow CSI plugin naming conventions
This commit is contained in:
Kubernetes Prow Robot 2020-03-17 09:00:22 -07:00 committed by GitHub
commit 83a94b867a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: csi-nfsplugin
name: nfs.csi.k8s.io
spec:
attachRequired: false
volumeLifecycleModes:

View File

@ -10,7 +10,7 @@ spec:
capacity:
storage: 100Gi
csi:
driver: csi-nfsplugin
driver: nfs.csi.k8s.io
volumeHandle: data-id
volumeAttributes:
server: 127.0.0.1

View File

@ -36,7 +36,7 @@ type nfsDriver struct {
}
const (
driverName = "csi-nfsplugin"
driverName = "nfs.csi.k8s.io"
)
var (

View File

@ -54,7 +54,7 @@ func initNFSDriver(name string, manifests ...string) testsuites.TestDriver {
func InitNFSDriver() testsuites.TestDriver {
return initNFSDriver("csi-nfsplugin",
return initNFSDriver("nfs.csi.k8s.io",
"csi-attacher-nfsplugin.yaml",
"csi-attacher-rbac.yaml",
"csi-nodeplugin-nfsplugin.yaml",