You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*: add CLI arguments to configure TLS ciphers for gRPC servers + remote-write receiver's server (#8730)
* Support ciphers configuration for server TLS
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Add grpc-server-tls-ciphers argument to Thanos components
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Add remote-write.server-tls-ciphers argument to Receive
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update docs
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Add TestGRPCServerTLSCiphersAndVersions
This commit adds an end-to-end test ensuring correct behaviour
when a client establishes a TLS connection to a server.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update CHANGELOG.md
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
---------
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ It is recommend to upgrade the storage components first (Receive, Store, etc.) a
22
22
### Added
23
23
24
24
-[#8691](https://github.com/thanos-io/thanos/pull/8691): Compactor: remove the directory marker objects for some s3 compatible object stores
25
+
-[#8730](https://github.com/thanos-io/thanos/pull/8730): *: add `--grpc-server-tls-ciphers` to configure cipher suites for gRPC servers.
26
+
-[#8730](https://github.com/thanos-io/thanos/pull/8730): Receive: add `--remote-write.server-tls-ciphers` to configure cipher suites for the HTTP server.
"TLS supported minimum version for gRPC server. If no version is specified, it'll default to 1.3. Allowed values: [\"1.0\", \"1.1\", \"1.2\", \"1.3\"]").
57
58
Default("1.3").StringVar(&gc.tlsMinVersion)
59
+
cmd.Flag("grpc-server-tls-ciphers",
60
+
"TLS cipher suites for gRPC server (repeatable). If not specified, the default Go cipher suites are used. See https://pkg.go.dev/crypto/tls#pkg-constants for valid values.").
61
+
StringsVar(&gc.tlsCiphers)
58
62
cmd.Flag("grpc-server-max-connection-age", "The grpc server max connection age. This controls how often to re-establish connections and redo TLS handshakes.").
cmd.Flag("remote-write.server-tls-client-ca", "TLS CA to verify clients against. If no client CA is specified, there is no client verification on server side. (tls.NoClientCert)").Default("").StringVar(&rc.rwServerClientCA)
937
938
938
-
cmd.Flag("remote-write.server-tls-min-version", "TLS version for the gRPC server, leave blank to default to TLS 1.3, allow values: [\"1.0\", \"1.1\", \"1.2\", \"1.3\"]").Default("1.3").StringVar(&rc.rwServerTlsMinVersion)
939
+
cmd.Flag("remote-write.server-tls-min-version", "TLS version for the HTTP server, leave blank to default to TLS 1.3, allow values: [\"1.0\", \"1.1\", \"1.2\", \"1.3\"]").Default("1.3").StringVar(&rc.rwServerTlsMinVersion)
940
+
941
+
cmd.Flag("remote-write.server-tls-ciphers", "TLS cipher suites for the HTTP server (repeatable). If not specified, the default Go cipher suites are used. See https://pkg.go.dev/crypto/tls#pkg-constants for valid values.").StringsVar(&rc.rwServerTlsCiphers)
939
942
940
943
cmd.Flag("remote-write.client-tls-cert", "TLS Certificates to use to identify this client to the server.").Default("").StringVar(&rc.rwClientCert)
0 commit comments