Skip to content

Commit

Permalink
Lint README
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Vasko <[email protected]>
  • Loading branch information
Lirt committed Oct 4, 2022
1 parent daacf8d commit c6bc5af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Prometheus Config Merger

Sidecar to merge Prometheus from multiple ConfigMaps and save to file.
Sidecar to merge Prometheus configuration from multiple ConfigMaps and save it to file.

It is supposed to run as sidecar for Prometheus.

## How does it work

1. Watch the changes to configmaps with specific label
1. On any change get the contents from all watched ConfigMaps
1. Merge the content together as yaml
1. Write the yaml content to file
1. Hit Prometheus reload API to reload the file
1. Watch the changes to configmaps with specific label.
1. On any change get the contents from all watched ConfigMaps.
1. Merge the content together as yaml.
1. Write the yaml content to file.
1. Hit Prometheus reload API to reload the file.

## How to run

Expand All @@ -26,4 +26,4 @@ Run the program:

```bash
python3 -m merger --prometheus-config-file-path 'my-test-config.yaml'
```
```
Empty file removed docs/README.md
Empty file.

0 comments on commit c6bc5af

Please sign in to comment.