From 742f7a55c07086fcba632e582bb205f176f0b8f7 Mon Sep 17 00:00:00 2001 From: Andy Zhang Date: Tue, 1 Jun 2021 11:44:29 +0800 Subject: [PATCH] Create README.md --- deploy/example/fsgroup/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 deploy/example/fsgroup/README.md diff --git a/deploy/example/fsgroup/README.md b/deploy/example/fsgroup/README.md new file mode 100644 index 00000000..8234d2f1 --- /dev/null +++ b/deploy/example/fsgroup/README.md @@ -0,0 +1,24 @@ +# fsGroup Support + +[fsGroupPolicy](https://kubernetes-csi.github.io/docs/support-fsgroup.html) feature is supported from Kubernetes 1.20, default CSI driver installation does not have this feature, follow below steps to enable this feature. + +### Option#1: Enable fsGroupPolicy support in [driver helm installation](../../../charts) + +add `--set feature.enableFSGroupPolicy=true` in helm installation command. + +### Option#2: Enable fsGroupPolicy support on a cluster with CSI driver already installed + +```console +kubectl delete CSIDriver nfs.csi.k8s.io +cat <