Skip to content

Commit 3a734e9

Browse files
authored
Merge pull request #1608 from kubernetes-sigs/fix-readonly-doc
doc: fix readOnly setting doc
2 parents 5ce7fba + 2a5d807 commit 3a734e9

8 files changed

+6
-2
lines changed

deploy/example/cloning/nginx-pod-restored-cloning.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
volumeMounts:
1616
- name: azurefile-cloning
1717
mountPath: "/mnt/azurefile"
18+
readOnly: false
1819
volumes:
1920
- name: azurefile-cloning
2021
persistentVolumeClaim:

deploy/example/nfs/statefulset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:
2525
volumeMounts:
2626
- name: persistent-storage
2727
mountPath: /mnt/azurefile
28+
readOnly: false
2829
updateStrategy:
2930
type: RollingUpdate
3031
selector:

deploy/example/nginx-pod-azurefile-inline-volume.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
volumeMounts:
1717
- name: persistent-storage
1818
mountPath: "/mnt/azurefile"
19+
readOnly: false
1920
volumes:
2021
- name: persistent-storage
2122
csi:

deploy/example/nginx-pod-azurefile.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
volumeMounts:
1717
- name: persistent-storage
1818
mountPath: "/mnt/azurefile"
19+
readOnly: false
1920
volumes:
2021
- name: persistent-storage
2122
persistentVolumeClaim:

deploy/example/pv-azurefile-csi.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ spec:
2222
- nosharesock
2323
csi:
2424
driver: file.csi.azure.com
25-
readOnly: false
2625
# make sure volumeid is unique for every identical share in the cluster
2726
# the # character is reserved for internal use
2827
volumeHandle: account-name_file-share-name

deploy/example/pv-azurefile-nfs.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ spec:
1717
- actimeo=30
1818
csi:
1919
driver: file.csi.azure.com
20-
readOnly: false
2120
# make sure volumeid is unique for every identical share in the cluster
2221
# the # character is reserved for internal use
2322
volumeHandle: account-name_file-share-name

deploy/example/statefulset-nonroot.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spec:
3030
volumeMounts:
3131
- name: persistent-storage
3232
mountPath: /mnt/azurefile
33+
readOnly: false
3334
updateStrategy:
3435
type: RollingUpdate
3536
selector:

deploy/example/statefulset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
volumeMounts:
2727
- name: persistent-storage
2828
mountPath: /mnt/azurefile
29+
readOnly: false
2930
updateStrategy:
3031
type: RollingUpdate
3132
selector:

0 commit comments

Comments
 (0)