You will need a working OCM Agent image that the ocm-agent-operator
will deploy.
Follow the build instructions of OCM Agent to build your own OCM Agent image.
- Apply the CRD from the
deploy/crds
directory.
oc create -f deploy/crds/ocmagent.managed.openshift.io_ocmagents.yaml
-
Edit the
test/deploy/50_ocm-agent-operator.Deployment.yaml
file to set theocm-agent-operator
image to the image URL you wish to test with. -
Apply all of the resources within the
test/deploy
directory.
find test/deploy -type f -name '*.yaml' -exec oc create -f {} \;