-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*: Added support for authentication and TLS for Alertmanager (#1838)
* *: support authentication and TLS for Alertmanager This change adds support for authentication with basic auth, client certificates and bearer tokens. It also enables to configure TLS settings for the Alertmanager endpoints. Most of the work leverages the existing Prometheus configuration format and code. In particular TLS certificate files are automatically reloaded whenever they change. Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Fail hard when --alertmanagers.url and --alertmanagers.config flags are both defined Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Update CHANGELOG.md Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Move tests from cmd/thanos to pkg/alert Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Add end-to-end for Alertmanager file SD Signed-off-by: Simon Pasquier <spasquie@redhat.com> * test/e2e: add test with different alerting HTTP clients Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Fix panic in pkg/alert/client_test.go Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Address Bartek's comments Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Re-use dns.Provider for resolving Alertmanager addresses Signed-off-by: Simon Pasquier <spasquie@redhat.com> * update documentation Signed-off-by: Simon Pasquier <spasquie@redhat.com>
- Loading branch information
1 parent
612f533
commit 56abeab
Showing
13 changed files
with
1,020 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.