Open shreyabiradar07 opened 2 days ago
AFAIK the cluster URL would look like this: <route_name>.apps.uihackathon.lab.psi.pnq2.redhat.com
Which route URL do you want to display here?
@bhanvimenghani
For the kubernetes url we want it to be just the oc login https://api.uihackathon.lab.psi.pnq2.redhat.com:6443
api url, just so that the user knows which oc machine the ui is running on. and for the kruize url part we can keep it as it is for now.
Any API that exposes the cluster url?
Currently we dont have a backend api which provides this cluster url, afaik. @shreyabiradar07 maybe can help here.
@athiruma We want to display OpenShift Cluster URL, for example in minikube(screenshot attached) UI displays minikube IP for Kubernetes URL and similarly we want either the Openshift Console route URL or api-server URL to be displayed which can be fetched by running below command
Expected output- Kubernetes URL: http://console-openshift-console.apps.uihackathon.lab.psi.pnq2.redhat.com
oc get routes -n openshift-console
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
console console-openshift-console.apps.uihackathon.lab.psi.pnq2.redhat.com console https reencrypt/Redirect None
Minikube example:
Problem Faced: In the horizontal Navbar on clicking the Kubernetes logo to get cluster information there are two URLs displayed
In OpenShift, for
Kubernetes URL
currenttlyKruize-UI
route URL is displayed instead of the OpenShift cluster URLExpectations / Delivery Requirements: Fix the
Kubernetes URL
being displayed, replacing withOpenShift URL
Where to Start?