Status: Closed (View Workflow)
The link to open RHAMT Web Ui provided by OCP UI in the right top corner of the Overview page should be the http one until we find a solution for https://issues.jboss.org/browse/WINDUP-2162.
To "force" OCP to show a specific route, the annotation
has to be added to http route definition both in web-template-empty-dir-executor.json and in web-template-empty-dir-executor-shared-storage.json.
This annotation works only from OCP 3.10+ (ref. isOverviewAppRoute from routes.js)
Not related to this issue but i want to add a brief summary on how to find out this annotation:
- using browser dev tools, it turned out that the link is in a div with an ng-if="overview.routesToDisplayByApp[app] (<div class="overview-routes ng-scope" ng-if="overview.routesToDisplayByApp[app] | size" style="">)
- so looking for routesToDisplayByApp in the overview.js, it turned out its value is coming from getRoutesToDisplay function
- and this function uses the isOverviewAppRoute from routes.js that evaluates the existence of console.alpha.openshift.io/overview-app-route: true annotation in route definition