Bug 1937356 - Incorrect imagestream is shown as selected in knative service container image edit flow
Summary: Incorrect imagestream is shown as selected in knative service container image...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.z
Assignee: divgupta
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 1936854
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-10 13:13 UTC by OpenShift BugZilla Robot
Modified: 2021-04-05 13:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-05 13:56:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Correct imagestream is shown as selected in knative service container image edit flow (60.32 KB, image/png)
2021-03-29 11:41 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8353 0 None open [release-4.7] Bug 1937356:Fix to show correct internal image-stream name in container image edit flow's internal registr... 2021-03-12 15:35:21 UTC
Red Hat Product Errata RHSA-2021:1005 0 None None None 2021-04-05 13:56:32 UTC

Description OpenShift BugZilla Robot 2021-03-10 13:13:25 UTC
+++ This bug was initially created as a clone of Bug #1936854 +++

Description of problem:
When support for selecting the runtime icon from the runtime icon dropdown was added to the edit flows the previous code for showing runtime icon for deployments created on creating an app using container image flow internal registry option was not properly cleaned up for knative service resource. Label 'app.kubernetes.io/name' which is used for getting the internal imagestream name is set incorrectly with runtime icon name instead of the imagestream name for knative service resource.

How reproducible: Always

Steps to Reproduce:
1.Create an app using container image internal registry option and resource as Knative Service.
2.Click on edit <app-name> action from node context menu.

Actual results:
Notice that in imagestream dropdown under internal registry option runtime icon name is shown instead of the previously selected imagestream.

Expected results:
Correct imagestream should be selected.

Additional info:

Comment 3 spathak@redhat.com 2021-03-29 11:41:38 UTC
Created attachment 1767315 [details]
Correct imagestream is shown as selected in knative service container image edit flow

Comment 4 spathak@redhat.com 2021-03-29 11:42:51 UTC
Verified on build version: 4.7.0-0.nightly-2021-03-27-082615
Browser: Google Chrome 89

Comment 6 errata-xmlrpc 2021-04-05 13:56:14 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 (Moderate: OpenShift Container Platform 4.7.5 security and bug fix 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.

https://access.redhat.com/errata/RHSA-2021:1005


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