This project is a the plugin version of Open Data Hub. It requires OpenShift 4.10 to use.
yarn install
yarn run start
The server runs on port 9001 with CORS enabled.
See the plugin development section in Console Dynamic Plugins README for details on how to run OpenShift console using local plugins.
You can deploy the plugin to a cluster by applying manifest.yaml
.
oc apply -f manifest.yaml
Once deployed, patch the Console operator config to enable the plugin.
oc patch consoles.operator.openshift.io cluster --patch '{ "spec": { "plugins": ["console-customization"] } }' --type=merge
- Build the image:
docker build -t quay.io/$USER/odh-plugin:latest .
- Run the image:
docker run -it --rm -d -p 9001:80 quay.io/$USER/odh-plugin:latest
- Push the image to image registry:
docker push quay.io/$USER/odh-plugin:latest
Update and apply manifest.yaml
to use a custom plugin image.