rluders / insights-operator-gathering-conditions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insights Operator Gatherting Conditions

This repository provides gathering conditions for the conditional gatherer in the Insights Operator and Insights Operator Condition Service

Linting

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

Build

Just execute the script:

./build

It will build the container image with the rules.

Docker image

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

About


Languages

Language:Shell 72.0%Language:Python 23.5%Language:Dockerfile 4.4%