diff options
author | hcpp <hcpp@yandex-team.ru> | 2022-03-01 13:51:26 +0300 |
---|---|---|
committer | hcpp <hcpp@yandex-team.ru> | 2022-03-01 13:51:26 +0300 |
commit | 6e8c5376d75151b514477715c1b9505d017b83eb (patch) | |
tree | cadefe1f815d122ca15ec159a1d10a4a6b5e2d5f | |
parent | d2d97d86f9d20726f108377593627c3fffd1cba8 (diff) | |
download | ydb-6e8c5376d75151b514477715c1b9505d017b83eb.tar.gz |
private api client ssl has been added
ref:c94b7b146d198670889f2e8c5e2a727afc98940c
-rw-r--r-- | ydb/core/yq/libs/actors/nodes_manager.cpp | 1 | ||||
-rw-r--r-- | ydb/core/yq/libs/actors/pending_fetcher.cpp | 1 | ||||
-rw-r--r-- | ydb/core/yq/libs/actors/result_writer.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/ydb/core/yq/libs/actors/nodes_manager.cpp b/ydb/core/yq/libs/actors/nodes_manager.cpp index 3852a3a4fd..ee885ab18d 100644 --- a/ydb/core/yq/libs/actors/nodes_manager.cpp +++ b/ydb/core/yq/libs/actors/nodes_manager.cpp @@ -76,6 +76,7 @@ public: YqSharedResources->YdbDriver, NYdb::TCommonClientSettings() .DiscoveryEndpoint(PrivateApiConfig.GetTaskServiceEndpoint()) + .EnableSsl(PrivateApiConfig.GetSecureTaskService()) .Database(PrivateApiConfig.GetTaskServiceDatabase() ? PrivateApiConfig.GetTaskServiceDatabase() : TMaybe<TString>()), clientCounters) diff --git a/ydb/core/yq/libs/actors/pending_fetcher.cpp b/ydb/core/yq/libs/actors/pending_fetcher.cpp index 1568de4b74..61359cee6d 100644 --- a/ydb/core/yq/libs/actors/pending_fetcher.cpp +++ b/ydb/core/yq/libs/actors/pending_fetcher.cpp @@ -162,6 +162,7 @@ public: YqSharedResources->YdbDriver, NYdb::TCommonClientSettings() .DiscoveryEndpoint(PrivateApiConfig.GetTaskServiceEndpoint()) + .EnableSsl(PrivateApiConfig.GetSecureTaskService()) .Database(PrivateApiConfig.GetTaskServiceDatabase() ? PrivateApiConfig.GetTaskServiceDatabase() : TMaybe<TString>()), ClientCounters) { diff --git a/ydb/core/yq/libs/actors/result_writer.cpp b/ydb/core/yq/libs/actors/result_writer.cpp index b063e73ffb..69986c0914 100644 --- a/ydb/core/yq/libs/actors/result_writer.cpp +++ b/ydb/core/yq/libs/actors/result_writer.cpp @@ -54,6 +54,7 @@ public: driver, NYdb::TCommonClientSettings() .DiscoveryEndpoint(privateApiConfig.GetTaskServiceEndpoint()) + .EnableSsl(privateApiConfig.GetSecureTaskService()) .Database(privateApiConfig.GetTaskServiceDatabase() ? privateApiConfig.GetTaskServiceDatabase(): TMaybe<TString>()), clientCounters) { } |