Bug 1871920 - Dynamic Sources/channels should use latest version available
Summary: Dynamic Sources/channels should use latest version available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.6.0
Assignee: Jaivardhan Kumar
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1889982
TreeView+ depends on / blocked
 
Reported: 2020-08-24 15:27 UTC by Jaivardhan Kumar
Modified: 2020-10-27 16:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1889982 (view as bug list)
Environment:
Last Closed: 2020-10-27 16:31:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Dynamic Sources/channels uses latest version available-1 (117.07 KB, image/png)
2020-10-27 13:46 UTC, spathak@redhat.com
no flags Details
Dynamic Sources/channels should use latest version available-2 (69.04 KB, image/png)
2020-10-27 13:50 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6412 0 None closed Bug 1871920: pick latestCRDversion instead of latest/served true for eventSources/channels 2020-11-02 18:19:01 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:31:41 UTC

Description Jaivardhan Kumar 2020-08-24 15:27:13 UTC
Description: Currently in ODC Version is picked from CRDs bases on field `storage` and `served` as true however should pick latest version as done for search creation across
versions:
  - name: v1alpha1
     served: true
     storage: true
  - name: v1beta1
     served: true
     storage: false
Here in eventSource creation version used is `v1alpha1` however it should be `v1beta1`.

Prerequisites (if any, like setup, operators/versions): Install Serverless operator

Steps to Reproduce
- Go to DevPerspective -> Add -> EventSource/Channel
- Create eventSource/channel

Actual results: considering above sample version used will be `v1alpha1` for creation

Expected results: considering above sample version used should be `v1beta1` for creation

Reproducibility (Always/Intermittent/Only Once): Always


Additional info: In search flows across Admin/Dev Perspective makes use of latest version https://github.com/openshift/console/blob/master/frontend/public/module/k8s/k8s.ts#L97

Comment 1 Jaivardhan Kumar 2020-08-24 15:29:16 UTC
Associated Jira ticket https://issues.redhat.com/browse/ODC-4477

Comment 4 Karthik Jeeyar 2020-09-21 07:49:42 UTC
Verified on
Build number: 4.6.0-0.nightly-2020-09-20-184226
Url: https://console-openshift-console.apps.dev-svc-4.6-092101.devcluster.openshift.com/add/ns/openshift-operators
User: Kubeadmin

Comment 6 spathak@redhat.com 2020-10-27 13:46:45 UTC
Created attachment 1724533 [details]
Dynamic Sources/channels uses latest version available-1

Comment 7 spathak@redhat.com 2020-10-27 13:50:34 UTC
Created attachment 1724535 [details]
Dynamic Sources/channels should use latest version available-2

Comment 8 errata-xmlrpc 2020-10-27 16:31:27 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 (OpenShift Container Platform 4.6 GA Images), 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:4196


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