Skip to content

Commit

Permalink
Merge pull request #440 from andyzhangx/static-pv-doc
Browse files Browse the repository at this point in the history
doc: refine static PV doc
  • Loading branch information
andyzhangx authored Apr 5, 2022
2 parents 60844e1 + 9620313 commit 5362322
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/example/e2e_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ spec:
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: smb
mountOptions:
- dir_mode=0777
- file_mode=0777
- vers=3.0
csi:
driver: smb.csi.k8s.io
readOnly: false
Expand Down
8 changes: 7 additions & 1 deletion deploy/example/pv-smb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ spec:
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: smb
mountOptions:
- dir_mode=0777
- file_mode=0777
- vers=3.0
- uid=1001
- gid=1001
- noperm
- mfsymlinks
- cache=strict
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
readOnly: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/example/pvc-smb-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ spec:
requests:
storage: 10Gi
volumeName: pv-smb
storageClassName: ""
storageClassName: smb

0 comments on commit 5362322

Please sign in to comment.