Skip to content
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

Make TLSConfig constructor public #1661

Closed
wants to merge 1 commit into from
Closed

Make TLSConfig constructor public #1661

wants to merge 1 commit into from

Conversation

hooten
Copy link
Contributor

@hooten hooten commented Apr 1, 2020

Signed-off-by: Dustin Hooten [email protected]

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 <[email protected]>
@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