Bug 1840529

Summary: Filter out sources with multiple entries with latest and deprecated apiGroup
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:41:57 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:

Description Jaivardhan Kumar 2020-05-27 07:11:59 UTC
Description of problem:
Currently we have Service `api/console/knative-event-sources` to fetch EventSources on cluster based on DuckType and it fetches all sources along with associated labels i.e label `eventing.knative.dev/deprecated: "true"` for deprecated one's. With Serverless 1.7.x contains some sources with two apiGroups latest as well as deprecated. UI should support latest if present for those sources

Prerequisites (if any, like setup, operators/versions):
Install Serverless 1.7.x/Eventing

Steps to Reproduce:
EvetSources like apiServerSource/SinkBinding currently pick `apiserversources.sources.eventing.knative.dev` deprecated or `apiserversources.sources.knative.dev` latest

Actual results:
UI makes use of deprecated or latest randomly for sources which supports both apiGroup

Expected results:
UI should make use of latest supported apiGroup for sources which supports both apiGroup

Additional info:
This will be fixed with Serverless 1.7.1

Comment 1 Jaivardhan Kumar 2020-05-27 07:33:18 UTC
Jira ticket https://issues.redhat.com/browse/ODC-3995

Comment 4 Gajanan More 2020-06-08 08:50:17 UTC
I have validated the bugzilla on:
Build: 4.5.0-0.nightly-2020-06-05-214616
Browser: Google Chrome Version 81.0.4044.129
Marking this as verified.

Comment 5 errata-xmlrpc 2020-07-13 17:41: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-2020:2409