This project provides a console plugin for Camel. The project is created using openshift console plugin template
Current version: 0.2.1
It requires:
- OpenShift 4.19
- Camel Dashboard Operator
It can also leverage the Hawtio Online OpenShift Console Plugin.
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-plugin:0.2.1
is published so it can be pulled instead.
oc new-project camel-dashboard
helm upgrade -i camel-openshift-console-plugin https://github.com/camel-tooling/camel-openshift-console-plugin/raw/refs/heads/main/docs/charts/camel-openshift-console-plugin-0.2.1.tgz --namespace camel-dashboard --set plugin.image=quay.io/camel-tooling/camel-openshift-console-plugin:latest
In the admin perspective, in Workload, the Camel section is available:
It is also available in the developer perspective.
To be able to see your Camel integrations in the Camel Dashboard you need for your user to have access to the Custom Resources created by the camel-dashboard-operator with the following permissions:
- apiGroups:
- "camel.apache.org"
resources:
- camelapps
verbs:
- get
- list
- watch
You can use the helm script installation with the your values to easily create Role
/RoleBinding
pairs:
camelAppRbac:
- namespace: my-project
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: developer