This agent extends the base jenkins agent image and adds the following binaries to be able to execute Open Policy Agent conftests in a pipeline:
oc process -f ../../.openshift/templates/jenkins-agent-generic-template.yml \
-p NAME=jenkins-agent-conftest \
-p SOURCE_CONTEXT_DIR=jenkins-agents/jenkins-agent-conftest \
-p DOCKERFILE_PATH=Dockerfile \
| oc create -n openshift -f -
For all params see the list in the ../../.openshift/templates/jenkins-agent-generic-template.yml
or run oc process --parameters -f ../../.openshift/templates/jenkins-agent-generic-template.yml
.