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:
https://github.com/openshift/origin-web-console/pull/2461
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.