This repository build the Netobserv OLM catalog used to release new version of Openshift Network Observability Operator.
Some of the comands below require an access to registry.redhat.io
. Make sure you have it (e.g. by running export REGISTRY_AUTH_FILE=/path/to/secret.json
first).
To generate all catalogs from template:
make generate
To build the catalog with released version:
podman build -t catalog .
To use upstream opm:
podman build -t catalog -f upstream.Dockerfile .
To use a different generated catalog:
podman build --build-arg INDEX_FILE=./auto-generated/<catalog-file>.yaml -t catalog .
One-step, build and test on a cluster:
make build-image push-image deploy