From a3c1e3db9d04f019990ec374106df5ba5c2304d7 Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Thu, 31 Aug 2023 12:07:05 +0300 Subject: [PATCH] fixup! feat: navigate to cluster console DevWorkspace object --- run/local-run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run/local-run.sh b/run/local-run.sh index 11df1f2f89..fa907738ba 100755 --- a/run/local-run.sh +++ b/run/local-run.sh @@ -123,6 +123,11 @@ export CHE_WORKSPACE_PLUGIN__REGISTRY__INTERNAL__URL=$(grep -o 'CHE_WORKSPACE_PL export CHE_WORKSPACE_DEVFILE__REGISTRY__INTERNAL__URL=$(grep -o 'CHE_WORKSPACE_DEVFILE__REGISTRY__INTERNAL__URL:.*' run/.che-dashboard-pod | grep -o '\S*$') export CHE_WORKSPACE_DEVFILE__REGISTRY__INTERNAL__URL=$(grep -o 'CHE_WORKSPACE_DEVFILE__REGISTRY__INTERNAL__URL:.*' run/.che-dashboard-pod | grep -o '\S*$') +export OPENSHIFT_CONSOLE_URL=$(grep -o 'OPENSHIFT_CONSOLE_URL:.*' run/.che-dashboard-pod | grep -o '\S*$') +export OPENSHIFT_CONSOLE_TITLE=$(grep -o 'OPENSHIFT_CONSOLE_TITLE:.*' run/.che-dashboard-pod | grep -o '\S*$') +export OPENSHIFT_CONSOLE_ICON=$(grep -o 'OPENSHIFT_CONSOLE_ICON:.*' run/.che-dashboard-pod | grep -o '\S*$') +export OPENSHIFT_CONSOLE_GROUP=$(grep -o 'OPENSHIFT_CONSOLE_GROUP:.*' run/.che-dashboard-pod | grep -o '\S*$') + if [ "$CHE_IN_CHE" == "true" ]; then export CHE_INTERNAL_URL=$(grep -o 'CHE_INTERNAL_URL:.*' run/.che-dashboard-pod | grep -o '\S*$') else