- Install operator-sdk v0.15.2
- The operator is written using operator-sdk v0.15.2 and has the same pre-requisites as it does.
To build the operator image, execute:
operator-sdk build quay.io/<insert username>/wmco:latest
To run the e2e tests for WMCO locally against an OpenShift cluster set up on AWS, we need to setup the following environment variables.
export KUBECONFIG=<path to kubeconfig>
export AWS_SHARED_CREDENTIALS_FILE=<path to aws credentials file>
export CLUSTER_ADDR=<cluster_name, eg: ravig211.devcluster.openshift.com>
export KUBE_SSH_KEY_PATH=<path to ssh key>
Once the above variables are set:
hack/run-ci-e2e-test.sh