Bug 1941995

Summary: fix backwards incompatible trigger api changes in osp1.4
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, nmukherj, sbhavsar, spathak
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1944349 2002151 (view as bug list) Environment:
Last Closed: 2021-07-27 22:55:09 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:    
Bug Blocks: 1944349    
Attachments:
Description Flags
fixed backwards incompatible trigger api changes in osp1.4 for 4.8 none

Description Karthik Jeeyar 2021-03-23 11:35:16 UTC
Description of problem:
Current logic of adding trigger from UI using template.name in Eventlisteners is a BREAKING change in 1.4 Pipelines operator, therefore update the logic to support new trigger Api and use triggerRef while creating the Trigger resources.



Version-Release number of selected component (if applicable):
OSP 1.4 pipelines operator

How reproducible:
Always

Steps to Reproduce:
1. In pipeline list page, click on the kebab action
2. Fill the Add Trigger form and submit.

Actual results:
Trigger fails due to the breaking API changes.

Expected results:
Trigger should be created successfully.

Additional info:

Comment 2 spathak@redhat.com 2021-04-01 06:43:15 UTC
Created attachment 1768202 [details]
fixed backwards incompatible trigger api changes in osp1.4 for 4.8

Comment 3 spathak@redhat.com 2021-04-01 06:46:45 UTC
Verified on build version: 4.8.0-0.nightly-2021-03-31-211319
Browser: Google Chrome 89

Comment 6 errata-xmlrpc 2021-07-27 22:55:09 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438