Bug 1936854

Summary: Incorrect imagestream is shown as selected in knative service container image edit flow
Product: OpenShift Container Platform Reporter: divgupta
Component: Dev ConsoleAssignee: divgupta
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: aos-bugs, cjerolim, nmukherj
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:51:56 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:
Bug Depends On:    
Bug Blocks: 1937356    

Description divgupta 2021-03-09 11:07:05 UTC
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 1 Christoph Jerolimov 2021-03-23 10:29:11 UTC
Verified on 4.8.0-0.nightly-2021-03-22-064955

Comment 2 Christoph Jerolimov 2021-03-23 10:37:53 UTC
Trigger Jira update

Comment 5 errata-xmlrpc 2021-07-27 22:51:56 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.8.2 bug fix and security 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:2438