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.
Verified on 4.8.0-0.nightly-2021-03-22-064955
Trigger Jira update
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.