Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/thanos/receive: fix dialopts TLS heuristic
Currently, the Thanos receive gRPC dialopts are configured to use TLS when the remote-write HTTP server is configured with a TLS certificate. This heuristic is not correct: just because the remote-write HTTP server is exposed over TLS does not mean that the hashring gRPC server is using TLS. This commit fixes the heuristic for enabling TLS in the gRPC client for forwarding remote-write requests internally within a hashring. Fixes: #4382. Signed-off-by: Lucas Servén Marín <[email protected]>
- Loading branch information