From 7d952b633530a86fad70951950ac20263f5e5cc3 Mon Sep 17 00:00:00 2001 From: Anya Chang Date: Wed, 8 Jan 2025 17:11:03 -0800 Subject: [PATCH] chore: add comment for mount permission and fix installation guide --- deploy/example/pv-azurefile-csi.yaml | 2 +- deploy/example/storageclass-azurefile-csi.yaml | 2 +- docs/install-csi-driver-master.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/example/pv-azurefile-csi.yaml b/deploy/example/pv-azurefile-csi.yaml index 525bd57ce7..3ecbbf9441 100644 --- a/deploy/example/pv-azurefile-csi.yaml +++ b/deploy/example/pv-azurefile-csi.yaml @@ -13,7 +13,7 @@ spec: persistentVolumeReclaimPolicy: Retain # if set as "Delete" file share would be removed in pvc deletion storageClassName: azurefile-csi mountOptions: - - dir_mode=0777 + - dir_mode=0777 # modify this permission if you want to enhance the security - file_mode=0777 - uid=0 - gid=0 diff --git a/deploy/example/storageclass-azurefile-csi.yaml b/deploy/example/storageclass-azurefile-csi.yaml index 046961b37f..62451de91c 100644 --- a/deploy/example/storageclass-azurefile-csi.yaml +++ b/deploy/example/storageclass-azurefile-csi.yaml @@ -10,7 +10,7 @@ parameters: reclaimPolicy: Delete volumeBindingMode: Immediate mountOptions: - - dir_mode=0777 + - dir_mode=0777 # modify this permission if you want to enhance the security - file_mode=0777 - mfsymlinks - cache=strict # https://linux.die.net/man/8/mount.cifs diff --git a/docs/install-csi-driver-master.md b/docs/install-csi-driver-master.md index d3c56cbfe0..38a926e2c9 100644 --- a/docs/install-csi-driver-master.md +++ b/docs/install-csi-driver-master.md @@ -41,5 +41,5 @@ curl -skSL https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-drive git clone https://github.com/kubernetes-sigs/azurefile-csi-driver.git cd azurefile-csi-driver git checkout master -./deploy/install-driver.sh master local +./deploy/uninstall-driver.sh master local ```