From 586a9cc8eeed2ca777f1a51b979852d39dd840b5 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 1 Sep 2022 09:44:25 +0530 Subject: [PATCH] rbd: change default FsGroupPolicy to "File" for RBD CSI driver This commit change the default fsgroup policy for csi driver object to "File" type which is the better/correct setting for the CSI volumes. We have been using default value which is "ReadWriteOnceWithFSType". with this change backward compatibility should be preserved. Signed-off-by: Humble Chirammal --- charts/ceph-csi-rbd/templates/csidriver-crd.yaml | 1 + deploy/rbd/kubernetes/csidriver.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/ceph-csi-rbd/templates/csidriver-crd.yaml b/charts/ceph-csi-rbd/templates/csidriver-crd.yaml index 92c3d916a..f4340a573 100644 --- a/charts/ceph-csi-rbd/templates/csidriver-crd.yaml +++ b/charts/ceph-csi-rbd/templates/csidriver-crd.yaml @@ -9,3 +9,4 @@ metadata: spec: attachRequired: true podInfoOnMount: false + fsGroupPolicy: File diff --git a/deploy/rbd/kubernetes/csidriver.yaml b/deploy/rbd/kubernetes/csidriver.yaml index 1ece4e96e..77dfac197 100644 --- a/deploy/rbd/kubernetes/csidriver.yaml +++ b/deploy/rbd/kubernetes/csidriver.yaml @@ -15,3 +15,4 @@ metadata: spec: attachRequired: true podInfoOnMount: false + fsGroupPolicy: File