Integration tests

The project includes integration tests that can be run against a Kubernetes cluster. If you want to use these tests, you will need to provide your own Kubernetes cluster. The Kubernetes cluster must meet the version number requirements and have Helm installed. Ensure that the operator image is in a container registry visible to the Kubernetes cluster.

You will need to obtain the kube.config file for an administrative user and make it available on the machine running the build. To run the tests, update the KUBECONFIG environment variable to point to your config file and then execute:

$ mvn clean verify -P java-integration-tests

For more detailed information, see How to run the Java integration tests .

When you run the integrations tests, they do a cleanup of any operator or domains on that cluster.