Description of problem: After removing data in the form view, switching back to the yaml view continues to show the removed values. Version-Release number of selected component (if applicable): 4.11.0-0.nightly-2022-04-07-053433 How reproducible: Steps to Reproduce: 1. create or edit a configmap 2. go to the form view 3. enter a key and value for data and binary data 4. switch to yaml view and observe the values are present (unnecessary step) 5. switch to form view 6. remove the data values by clicking the `- remove key/value` option 7. switch to yaml view Actual results: data values remain present in yaml Expected results: data values to be removed from yaml Additional info: Removing the data values in the form and saving the resource does indeed remove the values.
Verified it on 4.11.0-0.nightly-2022-04-22-002610. And it works as expected.
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069