Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 687 Bytes

how-to-test.md

File metadata and controls

23 lines (14 loc) · 687 Bytes

How To Test

Pre-requisites

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.

Running directly on-cluster

  • 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 the ocm-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 {} \;