-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[alertmanager] Add optional config reloader #348
[alertmanager] Add optional config reloader #348
Conversation
Signed-off-by: Alex Ramos <aramos@asserts.ai>
Signed-off-by: Alex Ramos <aramos@asserts.ai>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice you could add an ci file testing the enabled value.
charts/alertmanager/Chart.yaml
Outdated
@@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a | |||
sources: | |||
- https://github.com/prometheus/alertmanager | |||
type: application | |||
version: 0.1.4 | |||
version: 0.1.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor version should be raised if new feature is added.
@monotek , you mean a github action workflow for alertmanager? A helm-test , or something via chart-test? Please advise/guide and will do. Thanks for taking a look! |
@monotek @naseemkullah please advise, thanks! |
Thanks @arramos84, I'm guessing @monotek meant something in here: https://github.com/prometheus-community/helm-charts/tree/main/charts/alertmanager/templates/tests anything there should run at CI time |
@naseemkullah @monotek , wouldn't this require a change to the workflow? In order to write a test that takes into account the flag being on or off, then I'd have to write a ci test in |
I was talking about the optional usage of a chart-testing feature, which is used to test the charts
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
Putting out the testing today. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
Signed-off-by: André Bauer <monotek23@gmail.com>
What this PR does / why we need it:
This PR adds the option to enable a sidecar config-reloader. It's needed to allow for dynamics
reloads of alertmanager configurations
Which issue this PR fixes
No issue, just a small feature that can be enabled
Special notes for your reviewer:
Tested with and without configmapReloader enabled. Verified slightest change to configmap
triggers a reload and that the status page for the alertmanager config was properly updated.
Checklist
[prometheus-couchdb-exporter]
)