Bug 1611248 - Multiple webhook links appear if set more than once
Summary: Multiple webhook links appear if set more than once
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.11.z
Assignee: Ben Parees
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-02 08:15 UTC by Wenjing Zheng
Modified: 2019-01-10 09:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2019-01-10 09:03:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0024 0 None None None 2019-01-10 09:04:04 UTC

Description Wenjing Zheng 2018-08-02 08:15:54 UTC
Description of problem:
More than one webhook links appears if set more than once:
Webhook GitHub:
        URL:    https://<cluster>/apis/build.openshift.io/v1/namespaces/xiu/buildconfigs/ruby-ex/webhooks/<secret>/github
        URL:    https://<cluster>/apis/build.openshift.io/v1/namespaces/xiu/buildconfigs/ruby-ex/webhooks/<secret>/github
        URL:    https://<cluster>/apis/build.openshift.io/v1/namespaces/xiu/buildconfigs/ruby-ex/webhooks/<secret>/github

Version-Release number of selected component (if applicable):
v3.11.0-0.10.0

How reproducible:
always

Steps to Reproduce:
1.oc new-app ruby~https://github.com/openshift/ruby-ex
2.oc set triggers bc ruby-ex --from-github
3.oc set triggers bc ruby-ex --from-github
4.oc set triggers bc ruby-ex --from-github

Actual results:
Multiple webhook link appears with different secrets, and all work.

Expected results:
Should be only one.

Additional info:

Comment 1 Ben Parees 2018-08-02 18:18:16 UTC
https://github.com/openshift/origin/pull/20525

Comment 2 Wenjing Zheng 2018-08-27 07:42:23 UTC
Verified with below version:
oc v3.11.0-0.21.0
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Comment 4 errata-xmlrpc 2019-01-10 09:03:57 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, 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/RHBA-2019:0024


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