From 54fe4158a0355d1e2f3f63f0e67474fab0d0d405 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Mon, 8 Aug 2022 12:08:13 +0530 Subject: [PATCH] deploy: update fsGroupPolicy to File for nfs driver object NFS volume similar to CephFs volumes can support fsGroupPolicy as File, now Kubernetes 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. Signed-off-by: Rakshith R --- deploy/nfs/kubernetes/csidriver.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/nfs/kubernetes/csidriver.yaml b/deploy/nfs/kubernetes/csidriver.yaml index bfa42f6ae..d4f15c365 100644 --- a/deploy/nfs/kubernetes/csidriver.yaml +++ b/deploy/nfs/kubernetes/csidriver.yaml @@ -14,3 +14,4 @@ spec: attachRequired: false volumeLifecycleModes: - Persistent + fsGroupPolicy: File