nutanix / helm

Nutanix Helm Charts repository
https://nutanix.github.io/helm/
MIT License
17 stars 30 forks source link

CSI volume driver support for ```fsGroupPolicy: File``` #137

Open mvndrl opened 6 months ago

mvndrl commented 6 months ago

I need to manage the default ownership/permissions of a mountpoint created by a PVC with ReadWriteMany (RWX) on Red Hat Openshift 4.13, currently not supported by Nutanix CSI.

According to Red Hat, using the current setting of fsGroupPolicy: ReadWriteOnceWithFSType results in the fsGroup only to be respected by the driver if the volume's access mode contains ReadWriteOnce (RWO). According to this link, after changing the fsGroupPolicy parameter to value ‘File’, Kubernetes may use fsGroup to change permissions and ownership of the volume to match user requested fsGroup in the pod's SecurityPolicy regardless of fstype or access mode.

https://kubernetes-csi.github.io/docs/support-fsgroup.html