Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 863 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 863 Bytes

fsGroup Support

fsGroupPolicy feature is Beta from Kubernetes 1.20 and GA from Kubernetes 1.23. It is disabled by default up to version 3.1.0 of the chart and enabled by default from version 4.0.0 of the chart, follow below steps to enable this feature in older charts.

Option#1: Enable fsGroupPolicy support in driver helm installation

add --set feature.enableFSGroupPolicy=true in helm installation command.

Option#2: Enable fsGroupPolicy support on a cluster with CSI driver already installed

kubectl delete CSIDriver nfs.csi.k8s.io
cat <<EOF | kubectl create -f -
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
  name: nfs.csi.k8s.io
spec:
  attachRequired: false
  volumeLifecycleModes:
    - Persistent
  fsGroupPolicy: File
EOF