Skip to content

Commit

Permalink
Update driver-parameters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx authored Jan 4, 2022
1 parent 49a763b commit 5423797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/driver-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ volumeAttributes.share | NFS share path | `/` | Yes |
> since `DeleteVolumeRequest` does not provide `mountOptions`, following is the workaround to provide `mountOptions` for `DeleteVolume`, check details [here](https://github.com/kubernetes-csi/csi-driver-nfs/issues/260)
- create a secret with `mountOptions`
```console
kubectl create secret generic mount-options --from-literal mountOptions="nfsvers=3"
kubectl create secret generic mount-options --from-literal mountOptions="nfsvers=3,hard"
```
- define a storage class with `csi.storage.k8s.io/provisioner-secret-name` and `csi.storage.k8s.io/provisioner-secret-namespace` setting:
```yaml
Expand Down

0 comments on commit 5423797

Please sign in to comment.