File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,8 @@ endif
151
151
.PHONY : install-nfs-server
152
152
install-nfs-server :
153
153
kubectl apply -f ./deploy/example/nfs-provisioner/nfs-server.yaml
154
+ kubectl delete secret mount-options --ignore-not-found
155
+ kubectl create secret generic mount-options --from-literal mountOptions=" nfsvers=4.1"
154
156
155
157
.PHONY : install-helm
156
158
install-helm :
Original file line number Diff line number Diff line change 47
47
defaultStorageClassParameters = map [string ]string {
48
48
"server" : "nfs-server.default.svc.cluster.local" ,
49
49
"share" : "/" ,
50
+ "csi.storage.k8s.io/provisioner-secret-name" : "mount-options" ,
51
+ "csi.storage.k8s.io/provisioner-secret-namespace" : "default" ,
50
52
}
51
53
controllerServer * nfs.ControllerServer
52
54
)
You can’t perform that action at this time.
0 commit comments