Hi,
We are looking on using the provisioner in kubernetes environment however have stumbled upon a security problem, wherein we want to run the pods as non-root user.
I believe the only way forward is running nfsv4 only, however, it seems current implementation doesnt support it without updating the code. However, even after running it, we are getting below error while mounting the share:
21/07/2021 08:53:34 : epoch 60f7e018 : nfs-ganesha-nfs-server-provisioner-0 : nfs-ganesha-20[svc_9] fsal_common_is_referral :FSAL :EVENT :Failed to get attrs for referral, handle: 0x7f9cdaf5b780, valid_mask: 0, request_mask: 82, suppor
ted: 0, error: Forbidden action
21/07/2021 08:53:34 : epoch 60f7e018 : nfs-ganesha-nfs-server-provisioner-0 : nfs-ganesha-20[svc_9] fsal_common_is_referral :FSAL :EVENT :Failed to get attrs for referral, handle: 0x7f9cdaf5b780, valid_mask: 0, request_mask: 82, suppor
ted: 0, error: Forbidden action
Has anyone tried running ganesha.nfsd as non-root inside container and faced such issue?
Also, it seems kubernetes also recommends running processes as non-root and openshift also mandates running pods as non-root. Hence, this becomes even more important for us.
Regards,
Nishit