mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
feat: reloadable tls client config (#7230)
* feat: add ReloadableClientTlsConfig Signed-off-by: shuiyisong <xixing.sys@gmail.com> * refactor: merge tls option with the reloadable Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: rename function Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: update comment Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: extract tls loader Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: minor comment update Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: add serde default to watch field Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: minor update Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: add log Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix: add error log Signed-off-by: shuiyisong <xixing.sys@gmail.com> --------- Signed-off-by: shuiyisong <xixing.sys@gmail.com>
This commit is contained in:
@@ -971,6 +971,7 @@ pub async fn test_grpc_tls_config(store_type: StorageType) {
|
||||
server_ca_cert_path: Some(ca_path),
|
||||
client_cert_path: Some(client_cert_path),
|
||||
client_key_path: Some(client_key_path),
|
||||
watch: false,
|
||||
};
|
||||
{
|
||||
let grpc_client =
|
||||
|
||||
Reference in New Issue
Block a user