Skip to content

Commit

Permalink
Merge pull request #2310 from m-anyac/add-default-mountoptions
Browse files Browse the repository at this point in the history
doc: Update examples for mount permissions setting
  • Loading branch information
andyzhangx authored Jan 10, 2025
2 parents 45ede6c + 7a1c5c5 commit 9d85a77
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 9d85a77

Please sign in to comment.