-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
query frontend, store: Add TLS support to redis_client #5674
Conversation
While looking to update the docs (& changelog), I noticed that Would it be better to structure the redis TLS config using the same idiom? |
8bea081
to
6bb70b5
Compare
I thought about it more and decided to go with the |
ccaf096
to
a5e856d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two suggestions but otherwise LGTM
…loses issue thanos-io#5310 Signed-off-by: Daniel Butler <16944132+dbut023@users.noreply.github.com>
Signed-off-by: Daniel Butler <16944132+dbut023@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you!
Changes
Adds support for TLS connections to redis (Fixes #5310)
Modified original PR #5312 to use NewConfigClient as per pharau
Adds tls_client_cert, tls_client_key and tls_ca_cert options for Client Certificate and custom Root CA.Adds tls_enabled and reuses tls_config struct from http to configure specifics.
Verification
Expanded unit tests to validate new configuration