Create Custom ConsoleLinks
Sometimes it can be very helpful to have a direct link from an OpenShift project to the IBM Solution Designer and IBM Solution Hub. How that link can be created is shown below. For both cases you can use the prepared YAML template and adjust it.
Prerequisites
- Admin access to OpenShift cluster
Step 1: Get your links
- In openshift go to Networking -> Routes
- Use your namespace where the operator is installed.
- Then get the link from k5-designer-frontend-route (Do the same for k5-hub-frontend-route, k5-dashboard)
- Copy the link from the Location tab
Step 2: Navigating to OpenShift Console Link
- Log in to the admin console of OpenShift
- Navigate to Administration -> Custom Resource Definition -> ConsoleLink
- Click on Instances
Step 3: Create the console links k5-designer
- Click on Create Console Link
- Copy/paste k5-designer-frontend-route YAML
- Check the spec.href if it is the same as you got in step 1, if not replace it
- Click create
k5-designer-frontend-route YAML
apiVersion: console.openshift.io/v1
kind: ConsoleLink
metadata:
name: k5-designer-console-link
spec:
applicationMenu:
imageURL: >-
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfnCw4IJS3zpRqSAAAE1klEQVRIx9WVTYjdZxXGf8953/+9d2Zyk5lMvqapoRRXVigVRQXtoiJuXNiFtYoYpdSKTSNFUbRgi0a6KQaNNQ0uIiK4Ed0o6qYIoiIiYqjShWmTtJqPcdq5c+d+zP2/7zkuJkltI61bz/LA+zwvz3POc8T/UN85MeS5pTksABODZNw6GPPlBxbe8K1e2zh2akS0Ler1rvcWxy3nFnsI9iPtHZs986bhhGkySjY8GwqA4Buf6LwKz15L4EDkDDAnJIB9XiGA4A7Bva0Ll1jr9xj0OgA9Fxa64b83Egi45+YFiLg/wu8kgmd3bMtjgSki5eoYwdysMFfK3pn0SEW7y3+R6AaCjgc/vrgF8FfgsNBOi6Drjoi/CX6xWFumZlzemXH0sYB2/3i6Zh43evDNExs8v3Oet6yPsHAAVhfmkJSJ+FTArzruF1qz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ZK3b0e627DHL87oO+p8E4BJFV6+fRJXcifVRtmFChERuK/d9YfmVm3zyWwNWBgNmyWgQyTK6JodeNanEdYJtT4pEJSgEyYON+TkeOvL6U/f/U/8GIJ153QSzOz8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMTEtMTRUMDg6Mzc6MjUrMDA6MDDl1nGnAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTExLTE0VDA4OjM3OjI1KzAwOjAwlIvJGwAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyMy0xMS0xNFQwODozNzo0NSswMDowMAXx4UMAAAAASUVORK5CYII=
section: IBM Solutions Workbench
href: 'https://k5-designer-k5-tools.my.cluster/'
location: ApplicationMenu
text: k5-designer
Step 4: Create the console links k5-hub
- Click on Create Console Link
- Copy/paste k5-hub-frontend-route YAML
- Check the spec.href if it is the same as you got in step 1, if not replace it
- Click create
k5-hub-frontend-route YAML
apiVersion: console.openshift.io/v1
kind: ConsoleLink
metadata:
name: k5-hub-console-link
spec:
applicationMenu:
imageURL: >-
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfnCw4IJS3zpRqSAAAE1klEQVRIx9WVTYjdZxXGf8953/+9d2Zyk5lMvqapoRRXVigVRQXtoiJuXNiFtYoYpdSKTSNFUbRgi0a6KQaNNQ0uIiK4Ed0o6qYIoiIiYqjShWmTtJqPcdq5c+d+zP2/7zkuJkltI61bz/LA+zwvz3POc8T/UN85MeS5pTksABODZNw6GPPlBxbe8K1e2zh2akS0Ler1rvcWxy3nFnsI9iPtHZs986bhhGkySjY8GwqA4Buf6LwKz15L4EDkDDAnJIB9XiGA4A7Bva0Ll1jr9xj0OgA9Fxa64b83Egi45+YFiLg/wu8kgmd3bMtjgSki5eoYwdysMFfK3pn0SEW7y3+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vpajjpuTeRh0+PwPXv52Q/OnylmxwSHU/ABWWqRCLbPTugqMCKb6AU4wrePlAWYhZ+JsC+5uExAa1c3+UeP/5P3nz3Pbw8dZK3b0e627DHL87oO+p8E4BJFV6+fRJXcifVRtmFChERuK/d9YfmVm3zyWwNWBgNmyWgQyTK6JodeNanEdYJtT4pEJSgEyYON+TkeOvL6U/f/U/8GIJ153QSzOz8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMTEtMTRUMDg6Mzc6MjUrMDA6MDDl1nGnAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTExLTE0VDA4OjM3OjI1KzAwOjAwlIvJGwAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyMy0xMS0xNFQwODozNzo0NSswMDowMAXx4UMAAAAASUVORK5CYII=
section: IBM Solutions Workbench
href: 'https://k5-hub-k5-tools.my.cluster/'
location: ApplicationMenu
text: k5-hub
Delete a console link using the Open Shift Admin Console
- Log into admin console of OpenShift
- Navigate to Administration -> Custom Resource Definition -> ConsoleLink
- Click on Instances and click on Console Link which needs to be deleted
- Navigate to Actions -> Delete Console Link