Does nfs provisioner support mount options or parameters?
cainzhong opened this issue · 3 comments
Does nfs provisioner support mount options or parameters? Something like anonuid
, anongid
, root_squash
.
or (rw,sync,anonuid=1999,anongid=1999,root_squash
I have tried
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: nfs-dynamic
provisioner: example.com/nfs
parameters:
anonuid: "2000"
anongid: "2000"
mountOptions:
- rw
- root_squash
- anonuid=10000
- anongid=10000
But it doesn't work. It failed with below message.
Failed to provision volume with StorageClass "nfs-dynamic": error validating options for volume: invalid parameter: "anongid"
Hi,
I did try to solve it here #1320Still waiting for review.
Great. Nice job. What can I do to make your PR been merged? Seems the PR has been requested a few months ago.
@sopak Thanks for reporting the issue!
This repo is no longer being maintained and we are in the process of archiving this repo. Please see kubernetes/org#1563 for more details.
For nfs provisioners, we'll be continuing work in https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner. We have created a tracking issue to ensure the PR is pulled in after migration - kubernetes-sigs/nfs-ganesha-server-and-external-provisioner#5.
Going to close this issue in order to archive this repo. Apologies for the churn and thanks for your patience! 🙏