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:
|
||||
- name: podinfo
|
||||
mountPath: /etc/podinfo
|
||||
readOnly: false
|
||||
volumes:
|
||||
- name: podinfo
|
||||
downwardAPI:
|
||||
|
||||
@@ -25,7 +25,6 @@ spec:
|
||||
volumeMounts:
|
||||
- name: podinfo
|
||||
mountPath: /etc/podinfo
|
||||
readOnly: false
|
||||
volumes:
|
||||
- name: podinfo
|
||||
downwardAPI:
|
||||
|
||||
Reference in New Issue
Block a user