Skip to content

camel-tooling/camel-openshift-console-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camel Openshift Console Plugin

Warning

The project is still a work in progress that has not been released yet. Unstability is to be expected.

This project provides a console plugin for Camel. The project is created using openshift console plugin template

It requires:

Local Development

Node.js 20+ and Yarn are required to build and run this locally. To run OpenShift console in a container, podman 3.2.0+ or Docker is required.

For development you can login to an existing OpenShift and run the console with the plugin included locally.

In one terminal window, run:

  1. yarn install
  2. yarn run start

In another terminal window, run:

  1. oc login (requires oc and an OpenShift cluster)
  2. yarn run start-console (requires Docker or podman 3.2.0+)

This will run the OpenShift console in a container connected to the cluster you've logged into. The plugin HTTP server runs on port 9001 with CORS enabled. Navigate to http://localhost:9000/example to see the running plugin.

Deployment to OpenShift

To deploy the console plugin to an actual OpenShift cluster the following are needed:

Building the images locally

podman build -t quay.io/camel-tooling/camel-openshift-console-plugin:latest .
podman push quay.io/camel-tooling/camel-openshift-console-plugin:latest

Note: The image quay.io/camel-tooling/camel-openshift-console-plguin:latest is published so it can be pulled instead.

Deploying the plugin using Helm

oc new-project plugin-camel-openshift-console-plugin
helm upgrade -i camel-openshift-console-plugin charts/camel-openshift-console-plugin --namespace plugin-camel-openshift-console-plugin --set plugin.image=quay.io/camel-tooling/camel-openshift-console-plugin:latest

The Camel Tab

In the developer perpective the Camel section is now shown: The Camel Plugin Home