test: add e2e test for mountOptions support in DeleteVolume
This commit is contained in:
parent
d0ea11dac3
commit
498e837370
2
Makefile
2
Makefile
@ -151,6 +151,8 @@ endif
|
||||
.PHONY: install-nfs-server
|
||||
install-nfs-server:
|
||||
kubectl apply -f ./deploy/example/nfs-provisioner/nfs-server.yaml
|
||||
kubectl delete secret mount-options --ignore-not-found
|
||||
kubectl create secret generic mount-options --from-literal mountOptions="nfsvers=4.1"
|
||||
|
||||
.PHONY: install-helm
|
||||
install-helm:
|
||||
|
||||
@ -47,6 +47,8 @@ var (
|
||||
defaultStorageClassParameters = map[string]string{
|
||||
"server": "nfs-server.default.svc.cluster.local",
|
||||
"share": "/",
|
||||
"csi.storage.k8s.io/provisioner-secret-name": "mount-options",
|
||||
"csi.storage.k8s.io/provisioner-secret-namespace": "default",
|
||||
}
|
||||
controllerServer *nfs.ControllerServer
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user