From e2832fde5bffdd57f323a9d8a0c2790b7e4ffe2a Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Fri, 11 Nov 2022 12:45:00 +0530 Subject: [PATCH] deploy: add fsgrouppolicy to the driver yaml this fsgrouppolicy setting was missing in api/deploy/* which caused the yamlgen to not pickup this. this commit address the same. Signed-off-by: Humble Chirammal --- api/deploy/kubernetes/nfs/csidriver.yaml | 1 + api/deploy/kubernetes/rbd/csidriver.yaml | 1 + deploy/nfs/kubernetes/csidriver.yaml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/deploy/kubernetes/nfs/csidriver.yaml b/api/deploy/kubernetes/nfs/csidriver.yaml index 97afbc50e..21f2d79f4 100644 --- a/api/deploy/kubernetes/nfs/csidriver.yaml +++ b/api/deploy/kubernetes/nfs/csidriver.yaml @@ -5,5 +5,6 @@ metadata: name: "{{ .Name }}" spec: attachRequired: false + fsGroupPolicy: File volumeLifecycleModes: - Persistent diff --git a/api/deploy/kubernetes/rbd/csidriver.yaml b/api/deploy/kubernetes/rbd/csidriver.yaml index d948a0ce8..63569181a 100644 --- a/api/deploy/kubernetes/rbd/csidriver.yaml +++ b/api/deploy/kubernetes/rbd/csidriver.yaml @@ -6,3 +6,4 @@ metadata: spec: attachRequired: true podInfoOnMount: false + fsGroupPolicy: File diff --git a/deploy/nfs/kubernetes/csidriver.yaml b/deploy/nfs/kubernetes/csidriver.yaml index d4f15c365..61b466fe9 100644 --- a/deploy/nfs/kubernetes/csidriver.yaml +++ b/deploy/nfs/kubernetes/csidriver.yaml @@ -12,6 +12,6 @@ metadata: name: "nfs.csi.ceph.com" spec: attachRequired: false + fsGroupPolicy: File volumeLifecycleModes: - Persistent - fsGroupPolicy: File