Skip to content

Comments

Make TLSConfig constructor public#1661

Closed
hooten wants to merge 1 commit intoprometheus:masterfrom
hooten:tls
Closed

Make TLSConfig constructor public#1661
hooten wants to merge 1 commit intoprometheus:masterfrom
hooten:tls

Conversation

@hooten
Copy link
Contributor

@hooten hooten commented Apr 1, 2020

Signed-off-by: Dustin Hooten dhooten@splunk.com

This PR makes the TLSConfig constructor public so that we can vendor it into other prometheus repos to keep TLS configuration consistent.

Specifically, @sharadgaur and I plan to add a TLS option to Alertmanager's gossip protocol (continuing work on prometheus/alertmanager#1819).

It has already been suggested in a comment on the above PR draft that this code should be used as part of that effort: prometheus/alertmanager#1819 (comment)

Signed-off-by: Dustin Hooten <dhooten@splunk.com>
@brian-brazil
Copy link
Contributor

We shouldn't be using this anywhere else yet as it's still pending a security audit, and then baking in a node exporter 1.0 release for a few months. It'll move to common when it's good.

@hooten
Copy link
Contributor Author

hooten commented Apr 1, 2020

Okay, great. Thanks for the review and the context @brian-brazil. I'll go ahead and close the PR for now.

@hooten hooten closed this Apr 1, 2020
@brian-brazil
Copy link
Contributor

As I mentioned in the other comment, hack it in to the other PR for now so the rest of it can be reviewed and then we can clean it up before submission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants