Note, this is a different bug from 2017469. That fix does not apply / fix this issue. The issue here is editing the yaml in yaml editor, then going back to the env tab and seeing the changes visually appear on the yaml page. The update doesn't seem to show changes made in the yaml editor as noted above in the description.
@yapei Can this bug be verified for 4.9 release?
1. create project and a secret 2. Create workloads, deployments/deploymentconfig etc 3. manually update workloads yaml and add following snippet env: - name: testenv valueFrom: secretKeyRef: name: yapei-test-secret key: keytwo 4. navigate to workloads Environment tab, in Single values (env) part, we can see the env name and value from fields are correctly updated(refered secret is selected and key value is set correctly) Moving to VERIFIED
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.9.29 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:1363