red-hat-data-services / odh-deployer

The odh-deployer image creates a custom resource for the image in operator image in odh-operator-allinone
Apache License 2.0
5 stars 42 forks source link

Refactor prometheus-configs to allow for PromTool unit testing #374

Open ChristianZaccaria opened 1 year ago

ChristianZaccaria commented 1 year ago

Issue

We would like to create and perform unit tests on the rules that are added. To achieve this, the simplest way is to make use of PromTool. PromTool requires the alerts to be in their own yaml file as the tool is not able to directly parse from the ConfigMap.

Possible Resolution