- Build Operator
make build
- For build and push the operator image, operator-bundle image and operator-catalog image to a registry run:
make release
make sure change the registry under -Makefile
and setORG
with your own Quay.io Org! make release
is commented out while the release process is being considered- For more make commands run
make help
- see operator-sdk documentation for further info
- golang 1.15+
- operator-sdk v1.7 or later
- (OCP 4.6.1) or later
- OpenShift command line tool
Run as a local instance:
make install run WATCH_NAMESPACE=<your_target_namespace>
Deploy & run on a cluster:
oc project <your_target_namespace>
make deploy
- When finished, remove deployment via:
make undeploy
Deploy via OLM on cluster:
- Make sure to edit
Makefile
and setORG
with your own Quay.io Org! - Next edit the catalog-source.yaml template to indicate your new Quay.io org image
make release catalog-update
- search the Crunchy Bridge Operator in OperatorHub, click on install.