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
Steps to Reproduce:
1. In pipeline list page, click on the kebab action
2. Fill the Add Trigger form and submit.
Trigger fails due to the breaking API changes.
Trigger should be created successfully.
Created attachment 1768202 [details]
fixed backwards incompatible trigger api changes in osp1.4 for 4.8
Verified on build version: 4.8.0-0.nightly-2021-03-31-211319
Browser: Google Chrome 89
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.