+++ 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.
Notice that in imagestream dropdown under internal registry option runtime icon name is shown instead of the previously selected imagestream.
Correct imagestream should be selected.
Created attachment 1767315 [details]
Correct imagestream is shown as selected in knative service container image edit flow
Verified on build version: 4.7.0-0.nightly-2021-03-27-082615
Browser: Google Chrome 89
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.