Bug 1509819 - Environment from Secret was not shown in Hooks
Summary: Environment from Secret was not shown in Hooks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-06 07:18 UTC by shahan
Modified: 2017-11-28 08:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-07 14:26:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
no value of secret (86.86 KB, image/png)
2017-11-06 07:18 UTC, shahan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.