diff --git a/app.yml b/app.yml index c6b83b0..bf10054 100644 --- a/app.yml +++ b/app.yml @@ -1,11 +1,12 @@ app_code: bk_gsekit app_name: 进程配置管理 -app_name_en: bk-gsekit +app_name_en: GSEKit is_use_celery: true author: 蓝鲸智云 language: Python -introduction: 进程配置管理 -introduction_en: Process&config manager +introduction: 进程配置管理是腾讯蓝鲸智云推出的一个专注于进程和配置文件管理的 SaaS 工具。 +introduction_en: Process&config manager is a SaaS tool launched by Tencent BlueKing + that focuses on process and configuration file management. description: 进程配置管理是腾讯蓝鲸智云推出的一个专注于进程和配置文件管理的 SaaS 工具。 description_en: Process&config manager is a SaaS tool launched by Tencent BlueKing that focuses on process and configuration file management. diff --git a/app_desc.yaml b/app_desc.yaml index 30a0c5b..b0dec6c 100644 --- a/app_desc.yaml +++ b/app_desc.yaml @@ -4,11 +4,11 @@ app: region: default bk_app_code: "bk_gsekit" bk_app_name: 进程配置管理 - bk_app_name_en: bk-gsekit + bk_app_name_en: GSEKit market: category: 运维工具 - introduction: 进程配置管理 - introduction_en: Process&config manager + introduction: 进程配置管理是腾讯蓝鲸智云推出的一个专注于进程和配置文件管理的 SaaS 工具。 + introduction_en: Process&config manager is a SaaS tool launched by Tencent BlueKing that focuses on process and configuration file management. description: 进程配置管理是腾讯蓝鲸智云推出的一个专注于进程和配置文件管理的 SaaS 工具。 description_en: Process&config manager is a SaaS tool launched by Tencent BlueKing that focuses on process and configuration file management. display_options: diff --git a/common/context_processors.py b/common/context_processors.py index c09923b..2b653a5 100644 --- a/common/context_processors.py +++ b/common/context_processors.py @@ -59,4 +59,6 @@ def mysetting(request): "TAM_AEGIS_KEY": settings.TAM_AEGIS_KEY, "TAM_AEGIS_URL": settings.TAM_AEGIS_URL, "BKPAAS_SHARED_RES_URL": settings.BKPAAS_SHARED_RES_URL, + "BK_COMPONENT_API_URL": settings.BK_COMPONENT_API_OVERWRITE_URL, + "BK_DOMAIN": settings.BK_DOMAIN, } diff --git a/config/default.py b/config/default.py index 67ce556..7edaab0 100644 --- a/config/default.py +++ b/config/default.py @@ -209,6 +209,7 @@ BK_CC_HOST = os.environ.get("BK_CC_HOST", BK_PAAS_HOST.replace("paas", "cmdb")) BK_SAAS_HOST = env.BK_SAAS_HOST +BK_DOMAIN = os.environ.get("BKPAAS_BK_DOMAIN", "") BK_ADMIN_USERNAME = os.getenv("BKAPP_ADMIN_USERNAME", "admin")