Bug 1388812

Summary: [userinterface_public_691] Secret selection box does not work for Custom strategy BC on BC editor page
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: high    
Version: 3.4.0CC: aos-bugs, jokerman, mmccomas, xiaocwan
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Adding a Build Secret in the BC editor page. Consequence: Wont list available secrets. Fix: Pick only the appropriate secrets in the controller. Result: User will be able to pick from all available source secrets.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-08 18:33:15 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:

Description Xingxing Xia 2016-10-26 08:40:08 UTC
Description of problem:
Secret selection box does not work for Custom strategy BC on BC editor page. BC of other strategies don't have the problem.

Version-Release number of selected component (if applicable):
openshift v3.4.0.15

How reproducible:
Always

Steps to Reproduce:
1. Login to openshift. Create custom strategy BC
$ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json
2. Create some secret 
$ touch file; oc secrets new mysecret file
3. On ruby-sample-build BC editor page, click "advanced options". In the "Build Secrets" part, click the selection box, select the secret.

Actual results:
3. After clicking, the box does not show the drop-down list at all, and thus cannot show the secret to select.

Expected results:
3. Can show the secret to select.

Additional info:

Comment 1 Xingxing Xia 2016-11-02 04:42:25 UTC
In latest puddle, openshift version 3.4.0.18 has not yet included the PR. Wait for next puddle.

Comment 3 XiaochuanWang 2016-11-03 09:23:54 UTC
Verified on latest origin:
openshift v1.4.0-alpha.0+90d8c62-1000-dirty

User can select "mysecret" from "Build Secret" drop down list.