-
Bug
-
Resolution: Done
-
Major
-
openshift-4.6
Description of problem :
Event listeners has an optional `triggerRef` field which is not compatible in UI code causes the UI to crash
Prerequisites (if any, like setup, operators/versions):
Openshift Pipelines operator 1.2.2 (ocp-4.6)
Steps to Reproduce
- Create an eventlistener with this yaml:
apiVersion: triggers.tekton.dev/v1alpha1 kind: EventListener metadata: name: vote-app spec: serviceAccountName: pipeline triggers: - triggerRef: vote-app
Source: https://github.com/mancubus77/tekton-maybeuibug/tree/main/tekton
Actual results:
UI crashes with a `name of undefined` error in the browser console
Expected results:
UI should handle the new types and should not break
Reproducibility (Always/Intermittent/Only Once):
Always
Additional info:
Update the eventListener types based on the triggers doc
- is duplicated by
-
ODC-5343 Event listeners page is broken with latest Triggers 0.10.x
- Closed
- links to