Skip to content

Commit

Permalink
add table profiles cfg (ydb-platform#9834)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey J <[email protected]>
  • Loading branch information
sourcecd and Sergey J authored Sep 27, 2024
1 parent f4914ce commit a2aca67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ydb/tools/cfg/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def __init__(self, template, walle_provider, validator=None, database=None):
self.dynamic_cpu_count = self.__cluster_description.get("dynamic_cpu_count", 8)
self.force_io_pool_threads = self.__cluster_description.get("force_io_pool_threads", None)
self.client_certificate_authorization = self.__cluster_description.get("client_certificate_authorization")
self.table_profiles_config = self.__cluster_description.get("table_profiles_config")
self.blob_storage_config = self.__cluster_description.get("blob_storage_config")
self.pdisk_key_config = self.__cluster_description.get("pdisk_key_config", {})
if not self.need_txt_files and not self.use_new_style_kikimr_cfg:
Expand Down
3 changes: 3 additions & 0 deletions ydb/tools/cfg/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ def get_normalized_config(self):
if self.__cluster_details.client_certificate_authorization is not None:
normalized_config["client_certificate_authorization"] = self.__cluster_details.client_certificate_authorization

if self.__cluster_details.table_profiles_config is not None:
normalized_config["table_profiles_config"] = self.__cluster_details.table_profiles_config

if self.__cluster_details.blob_storage_config is not None:
normalized_config["blob_storage_config"] = self.__cluster_details.blob_storage_config
else:
Expand Down

0 comments on commit a2aca67

Please sign in to comment.