Bug 2021595

Summary: Key value field is not getting updated under Environment Tab in OpenShift Web Console
Product: OpenShift Container Platform Reporter: Joe Caiani <jcaiani>
Component: Management ConsoleAssignee: Joe Caiani <jcaiani>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, diflores, ematysek, fgleizes, jokerman, schituku, sdharma, yapei
Target Milestone: ---Keywords: Reopened
Target Release: 4.9.zFlags: diflores: needinfo?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2017469 Environment:
Last Closed: 2022-04-20 14:49:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2001804    
Bug Blocks: 2017469    

Comment 3 Joe Caiani 2022-03-08 17:09:48 UTC
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.

Comment 16 Eric Matysek 2022-04-13 18:39:28 UTC
@yapei Can this bug be verified for 4.9 release?

Comment 17 Yadan Pei 2022-04-14 04:01:15 UTC
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

Comment 19 errata-xmlrpc 2022-04-20 14:49:50 UTC
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