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.
I need to manage the default ownership/permissions of a mountpoint created by a PVC with
ReadWriteMany (RWX)
onRed 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 containsReadWriteOnce (RWO)
. According to this link, after changing thefsGroupPolicy
parameter to value ‘File’, Kubernetes may usefsGroup
to change permissions and ownership of the volume to match user requestedfsGroup
in the pod'sSecurityPolicy
regardless of fstype or access mode.https://kubernetes-csi.github.io/docs/support-fsgroup.html