Skip to content

Commit

Permalink
doc: fix readOnly setting doc
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Nov 27, 2023
1 parent bbbb061 commit 5827493
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion deploy/example/e2e_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ spec:
- file_mode=0777
csi:
driver: smb.csi.k8s.io
readOnly: false
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: smb-server.default.svc.cluster.local/share##
Expand Down
1 change: 1 addition & 0 deletions deploy/example/nginx-pod-smb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
volumeMounts:
- name: smb01
mountPath: "/mnt/smb"
readOnly: false
volumes:
- name: smb01
persistentVolumeClaim:
Expand Down
1 change: 0 additions & 1 deletion deploy/example/pv-smb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ spec:
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
readOnly: false
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: smb-server.default.svc.cluster.local/share##
Expand Down
1 change: 0 additions & 1 deletion deploy/example/smb-provisioner/pv-smb-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
- vers=3.0
csi:
driver: smb.csi.k8s.io
readOnly: false
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: smb-server.default.svc.cluster.local/share##
Expand Down
1 change: 1 addition & 0 deletions deploy/example/statefulset-nonroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
volumeMounts:
- name: persistent-storage
mountPath: /mnt/smb
readOnly: false
updateStrategy:
type: RollingUpdate
selector:
Expand Down
1 change: 1 addition & 0 deletions deploy/example/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
volumeMounts:
- name: persistent-storage
mountPath: /mnt/smb
readOnly: false
updateStrategy:
type: RollingUpdate
selector:
Expand Down

0 comments on commit 5827493

Please sign in to comment.