Remove readOnly:false from Downward API volume examples (#17661)
Downward API volumes are not writeable, even if readOnly:true is set, so including this in the example is potentially confusing for users.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d66a1be13f
commit
459fe87540
@@ -30,7 +30,6 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: podinfo
|
- name: podinfo
|
||||||
mountPath: /etc/podinfo
|
mountPath: /etc/podinfo
|
||||||
readOnly: false
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: podinfo
|
- name: podinfo
|
||||||
downwardAPI:
|
downwardAPI:
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: podinfo
|
- name: podinfo
|
||||||
mountPath: /etc/podinfo
|
mountPath: /etc/podinfo
|
||||||
readOnly: false
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: podinfo
|
- name: podinfo
|
||||||
downwardAPI:
|
downwardAPI:
|
||||||
|
|||||||
Reference in New Issue
Block a user