8000 http_config: Allow customizing TLS config and settings. by bwplotka · Pull Request #748 · prometheus/common · GitHub
[go: up one dir, main page]

Skip to content

Conversation

bwplotka
Copy link
Member

We (Google) would love to modify TLS config for custom authorization settings for our environments. Sometimes it means literally using our internal Go tls.Config instead of the created one by this client. This PR adds a minimal change to support a single option to do that, hope that makes sense!

@bwplotka bwplotka requested a review from SuperQ January 16, 2025 09:28
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Copy link
Member
@machine424 machine424 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks.
(ok to change the default from NewTLSConfig to NewTLSConfigWithContext)

@bwplotka bwplotka merged commit 280b0e7 into main Jan 16, 2025
8 checks passed
@bwplotka bwplotka deleted the extendtlsconfig branch January 16, 2025 15:26
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.

3 participants
0