Description of problem: OpenShift Console Deployment Edit overwrites deployment yaml Version-Release number of selected component (if applicable): v4.4 How reproducible: Suppose you have a Deployment named foo. If you select foo from the Topology view and click Actions -> Edit foo (not "edit deployment"), and make a modification (any modification), the modified Deployment yaml will overwrite/remove Volume Mounts in the Pod Template spec. Additional info: We apply some Config Maps as volumes to provide configuration to some pods. The volume declaration in the pod template will remain, but the volume mount of the volume will be removed.
Values of spec.template.spec.Volume and Volume Mounts retained in the Pod Template spec. Verified on build version: 4.7.0-0.nightly-2021-01-19-095812 Browser version: Chrome 84
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633