Automate installing of operators on a cluster.
A Kubernetes/OpenShift cluster available.
Use the provided manifest to deploy the tool as a Job in your cluster.
oc apply -f deploy/install.yamlBy default, a new namespace will be created called operator-audit. The Job will be created and run in this namespace.
There are several Make targets available to build and run the container image locally.
Build the container image locally.
make buildPush the container image to a remote registry.
make pushRun the container image locally.
make runSeveral variables can be used to customize the build and run targets.
The IMAGE_BUILDER variable by default is set to podman. Use this variable if an alternate image builder is desired.
make build IMAGE_BUILDER=dockerThe IMAGE_NAME variable controls the name of the resulting container image.
make build IMAGE_NAME=my-imageThe IMAGE_REPO variable controls the name of container registry/repository to use.
make build IMAGE_REPO=containers.pkg.github.com/johndoeThe IMAGE_VERSION variable controls the tag that will be used for the container image.
make build IMAGE_VERSION=v1.0.0The KUBE_CONFIG variable by default is set to ~/.kube/config. This variable can be used to refer to an alternate kubeconfig to be used when running the image locally.
make run KUBE_CONFIG=~/my-kube-config.yamlThe TEMP_DIR variable by default is set to 'pwd'/tmp. This variable can be used to change the directory that is used to cache the generated artifacts when running the image locally.
make run TEMP_DIR=`pwd`/my-dir