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:
- OpenShift 4.18
- Camel Dashboard Operator
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:
yarn install
yarn run start
In another terminal window, run:
oc login
(requires oc and an OpenShift cluster)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.
To deploy the console plugin to an actual OpenShift cluster the following are needed:
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.
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