Bug 1840529 - Filter out sources with multiple entries with latest and deprecated apiGroup
Summary: Filter out sources with multiple entries with latest and deprecated apiGroup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.5.0
Assignee: Jaivardhan Kumar
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 07:11 UTC by Jaivardhan Kumar
Modified: 2020-07-13 17:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:41:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5584 0 None closed Bug 1840529: eventSources supports latest apiGroup over deprecated based on label 2020-06-24 03:22:04 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:42:11 UTC

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


Note You need to log in before you can comment on or make changes to this bug.