[nfs-server-provisioner] Permission denied when i try to use a hostpath disk to storage data
Describe the bug Permission denied when i try to deploy nfs-server-provisioner using helm
Version of Helm and Kubernetes: Helm v2.14.1 Kubernetes 1.13.5
Which chart: nfs-server-provisioner
What happened: When i deploy the helm chart using emptyDir, it works fine, when i create a PV and use this PV to storage nfs data i receive this error on nfs pod:
Error setting up NFS server: error writing ganesha config /export/vfs.conf: open /export/vfs.conf: permission denied
I use this yaml to create a pv to be used by helm chart.
apiVersion: v1 kind: PersistentVolume metadata: name: data-nfs-server-provisioner-0 spec: capacity: storage: 100Gi accessModes: - ReadWriteOnce hostPath: path: /mnt/disks/nfs
What you expected to happen: Pod deployed successfully;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.