Bug 1880376

Summary: Could not create Pipeline Trigger with Pipeline Operator 1.1
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.5CC: aos-bugs, nmukherj, ppitonak
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The Dev Console was not compatible with the latest OpenShift Pipelines Operator 1.1 before this change. Consequence: New Pipeline Triggers could not be created. Fix: Change to support also the new version / API. Result: Dev Console could create Pipeline Triggers again.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-12 15:47:56 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:
Bug Depends On: 1878700    
Bug Blocks:    

Description Christoph Jerolimov 2020-09-18 11:33:55 UTC
+++ This bug was initially created as a clone of Bug #1878700 +++

Description of problem:
EventListener References to TriggerBindings was changed in OpenShift Pipeline Operator 1.1 (currently only available as preview).

In 0.5.0 (we didn't see this version in the Operator) they deprecated spec.triggers[].bindings[].name

In 0.6.0 (TP2 - 1.1 of the Operator) it has been removed in favour of deprecated spec.triggers[].bindings[].ref

Version-Release number of selected component (if applicable):
Pipeline Operator v1.1

How reproducible:
Always

Steps to Reproduce:
1. Add a Pipeline
2. Try to "Add Trigger" on it

Actual results:
An error saying `name` is not a supported field:

Expected results:
To successfully add a trigger.

Additional info:
None.

Comment 3 Gajanan More 2020-10-01 07:17:17 UTC
Verified on:
Build: 4.5.0-0.ci-2020-09-30-202106
Browser: Google Chrome 85.0.4183.102
Marking this as verified

Comment 5 errata-xmlrpc 2020-10-12 15:47:56 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 (OpenShift Container Platform 4.5.14 bug fix update), 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-2020:3843