Skip to content

Commit

Permalink
chore: add comment for mount permission and fix installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
m-anyac committed Jan 9, 2025
1 parent e392632 commit 7d952b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/example/pv-azurefile-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/example/storageclass-azurefile-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/install-csi-driver-master.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 7d952b6

Please sign in to comment.