Skip to content

Commit

Permalink
Merge pull request #2091 from andyzhangx/fix-readonly-doc
Browse files Browse the repository at this point in the history
doc: fix readOnly setting doc
  • Loading branch information
andyzhangx committed Nov 28, 2023
2 parents a80afb2 + c74933f commit 308e2df
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/example/nginx-pod-azuredisk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
volumeMounts:
- name: azuredisk01
mountPath: "/mnt/azuredisk"
readOnly: false
volumes:
- name: azuredisk01
persistentVolumeClaim:
Expand Down
1 change: 1 addition & 0 deletions deploy/example/nginx-pod-ephemeral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
volumeMounts:
- mountPath: "/mnt/azuredisk"
name: azuredisk01
readOnly: false
volumes:
- name: azuredisk01
ephemeral:
Expand Down
1 change: 0 additions & 1 deletion deploy/example/pv-azuredisk-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ spec:
storageClassName: managed-csi
csi:
driver: disk.csi.azure.com
readOnly: false
volumeHandle: /subscriptions/{sub-id}/resourcegroups/{group-name}/providers/microsoft.compute/disks/{disk-id}
volumeAttributes:
fsType: ext4
1 change: 1 addition & 0 deletions deploy/example/statefulset-nonroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
volumeMounts:
- name: persistent-storage
mountPath: /mnt/azuredisk
readOnly: false
updateStrategy:
type: RollingUpdate
selector:
Expand Down
1 change: 1 addition & 0 deletions deploy/example/statefulset-nozone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ spec:
volumeMounts:
- name: persistent-storage
mountPath: /mnt/azuredisk
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 @@ -26,6 +26,7 @@ spec:
volumeMounts:
- name: persistent-storage
mountPath: /mnt/azuredisk
readOnly: false
updateStrategy:
type: RollingUpdate
selector:
Expand Down

0 comments on commit 308e2df

Please sign in to comment.