This repository provides gathering conditions for the conditional gatherer in the Insights Operator and Insights Operator Condition Service
python3 -m venv .env
source .env/bin/activate
pip3 install -r requirements.txt
# to install the precommit script
pre-commit install
# to run the precommit script
pre-commit run --all-files
Just execute the script:
./build
It will build the container image with the rules.
You can create a Docker image that will share the rules folder with:
docker build -t io-gathering-conditions .
docker run --mount type=volume,source=.,target=/conditions io-gathering-conditions:latest