+++ This bug was initially created as a clone of Bug #1921949 +++
Description of problem:
In the Topology view there are icons representing pods. If the pod was created from a source code repository, a handle is shown on the lower right of the pod circle icon. It was the case before that clicking on this handle would open the repository holding the source code.
In a case where the pod was created in the current OKD (4.6.0-0.okd-2021-01-23-132511) or earlier versions from the Wildfly s2i image (for example, in the catalogue), the repo URL has been modified so it is no longer correct.
For example, a URL which used to be https://gitlab.infoteach.ca/bdlink/ch1-login/tree/master has been changed after the upgrade to https://infoteach.ca/bdlink/ch1-login/tree/master. This pod would have been created from the repo URL https://gitlab.infoteach.ca/bdlink/ch1-login.git, and identified as a gitlab repository.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create Wildfly 20 deployment from catalog Wildfly Builder image
2. use https://gitlab.infoteach.ca/bdlink/ch1-login.git as URL
3. select git type: gitlab
4. accept rest of defaults and Create
5. Wait for pod to deploy
6. go to topology view
7. Click on lower right "Edit source code" handle
This site cannot be reached. Incorrect URL https://infoteach.ca/bdlink/ch1-login/tree/master
Open source code page with URL https://gitlab.infoteach.ca/bdlink/ch1-login/tree/master
Worked before upgrading OKD to latest stable release. OKD team indicated this seems to be an OCP regression
Affects preexisting pods (which used to work) and newly created pods.
Created attachment 1757349 [details]
Console bug - source code URL works for gitlab self-hosted repositories
Verified on build version: 4.6.0-0.nightly-2021-02-13-034601
Browser version: Chrome 84
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.18 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.