Bug 1509819

Summary: Environment from Secret was not shown in Hooks
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, spadgett
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-07 14:26:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
no value of secret none

Description shahan 2017-11-06 07:18:00 UTC
Created attachment 1348426 [details]
no value of secret

Description of problem:
Environment from Secret was not shown in Hooks

Version-Release number of selected component (if applicable):
  v3.7.0-0.191.0

How reproducible:
Always

Steps to Reproduce:
1. oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json

2. Goto deployment config frontend edit page, click 'Show Advanced Strategy Options', try to add "Environment Variables" in the Pre/Post Lifecycle Hook, click "Add Value from Config Map or Secret", select existing secret to add in lifecycle hook, then save.

3. Goto the configuration tab of frontend dc pages, check the Environment Variables under hooks part.

Actual results:
3. Just displays the name of above secret 

Expected results:
 should show the value of secret as well
Additional info:

Comment 3 shahan 2017-11-07 03:30:41 UTC
Check this issue on OCP v3.7.0-0.196.0,  the environment from secret will show in hooks on the configuration tab, looks like "secret2 set to key .dockercfg in secret builder-dockercfg-kkgz7", Change status to verified.