forked from prometheus/alertmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Secure cluster traffic via mutual TLS (prometheus#2237)
* Add TLS option to gossip cluster Co-authored-by: Sharad Gaur <[email protected]> Signed-off-by: Dustin Hooten <[email protected]> * generate new certs that expire in 100 years Signed-off-by: Dustin Hooten <[email protected]> * Fix tls_connection attributes Signed-off-by: Dustin Hooten <[email protected]> * Improve error message Signed-off-by: Dustin Hooten <[email protected]> * Fix tls client config docs Signed-off-by: Dustin Hooten <[email protected]> * Add capacity arg to message buffer Signed-off-by: Dustin Hooten <[email protected]> * fix formatting Signed-off-by: Dustin Hooten <[email protected]> * Update version; add version validation Signed-off-by: Dustin Hooten <[email protected]> * use lru cache for connection pool Signed-off-by: Dustin Hooten <[email protected]> * lock reading from the connection Signed-off-by: Dustin Hooten <[email protected]> * when extracting net.Conn from tlsConn, lock and throw away wrapper Signed-off-by: Dustin Hooten <[email protected]> * Add mutex to connection pool to protect cache Signed-off-by: Dustin Hooten <[email protected]> * fix linting Signed-off-by: Dustin Hooten <[email protected]> Co-authored-by: Sharad Gaur <[email protected]>
- Loading branch information
1 parent
61d4ebc
commit ff85bec
Showing
48 changed files
with
2,125 additions
and
16 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.