ibm-storage-odf-console provides IBM storage specific console page, which will be loaded by ODF console when end users access IBM storage. It's specially designed for displaying IBM specific storage attributes to customer. Current scope includes IBM flashsystem only.
Refer the Readme in below repo to install the necessary packages. IBM storage plugin works with OCP console dynamic plugin and ODF console. It is enabled after ibm-storage-odf-operator installed successfully.
https://github.com/red-hat-storage/odf-console
https://github.com/openshift/console
https://github.com/IBM/ibm-storage-odf-operator
git clone https://github.com/IBM/ibm-storage-odf-console.git
to clone this repo.yarn install;yarn build
to build plugin page.yarn http-server
to serve http. This plugin uses port9003
by default.
Then OCP console and odf-console can be started following their guide. odf-console
IBM storage plugins are supposed to be deployed via OLM operators. In case of testing this plugin, we just apply a minimal OpenShift manifest which adds the necessary resources.
oc apply -f oc-manifest.yaml
Note that the Service
exposing the HTTP server is annotated to have a signed
service serving certificate
generated and mounted into the image. This allows us to run the server with HTTP/TLS enabled, using
a trusted CA certificate.
Once deployed on the cluster, this plugin must be enabled before it can be loaded by Console.
To enable the plugin manually, edit Console operator
config and make sure the plugin's name is listed in the spec.plugins
sequence (add one if missing):
oc edit console.operator.openshift.io cluster
# ...
spec:
plugins:
- ibm-storage-odf-plugin
# ...
Following commands should be executed in Console repository root.
- Build the image
docker build -t quay.io/<username>/ibm-storage-odf-plugin:latest -f Dockerfile .
- Build multiple archtechture images
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx create --use
docker buildx build --platform linux/amd64,linux/ppc64le,linux/s390x -f Dockerfile -t quay.io/<username>/ibm-storage-odf-plugin:latest .