Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(backend): 更新云区域镜像版本 #6858 #6859

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions dbm-ui/backend/configuration/models/function_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class CustomFuncNameEnum(str, StructuredEnum):
BigData = EnumField("bigdata", _("大数据"))
ToolBox = EnumField("toolbox", _("工具箱"))
TenDBClusterToolBox = EnumField("tendbcluster_toolbox", _("TenDBCluster 工具箱"))
SqlserverToolBox = EnumField("sqlserver_tool", _("Sqlserver 工具箱"))
AddOnServicePlugin = EnumField("addons", _("插件服务"))
Monitor = EnumField("monitor", _("监控告警"))

Expand Down Expand Up @@ -47,6 +48,22 @@ class CustomFuncNameEnum(str, StructuredEnum):
CustomFuncNameEnum.ToolBox.value: {"is_enabled": True},
},
},
DBType.Sqlserver.value: {
"is_enabled": True,
"children": {
ClusterType.SqlserverHA.value: {"is_enabled": True},
ClusterType.SqlserverSingle.value: {"is_enabled": True},
CustomFuncNameEnum.SqlserverToolBox.value: {"is_enabled": True},
},
},
DBType.MongoDB.value: {
"is_enabled": True,
"children": {
ClusterType.MongoShardedCluster.value: {"is_enabled": True},
ClusterType.MongoReplicaSet.value: {"is_enabled": True},
CustomFuncNameEnum.ToolBox.value: {"is_enabled": True},
},
},
CustomFuncNameEnum.BigData.value: {
"is_enabled": True,
"children": {
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/bk-dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ dependencies:
description: A Helm chart for bk-dbm
name: bk-dbm
type: application
version: 1.5.0-alpha.13
appVersion: 1.5.0-alpha.13
version: 1.5.0-alpha.14
appVersion: 1.5.0-alpha.14
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/db-dbha/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.0.1-alpha.18
appVersion: 1.5.0-alpha.518
description: A Helm chart for Kubernetes
name: db-dbha
version: 0.1.0
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/db-dns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.0.1-alpha.18
appVersion: 1.5.0-alpha.518
description: A Helm chart for Kubernetes
name: db-dns
version: 0.1.0
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/db-nginx/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.0.1-alpha.18
appVersion: 1.5.0-alpha.518
description: A Helm chart for Kubernetes
name: db-nginx
version: 0.1.0
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/db-remote-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.9.5
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 0.0.1-alpha.2
appVersion: 1.5.0-alpha.518
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/dbm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.5.0-alpha.517
appVersion: 1.5.0-alpha.518
description: A Helm chart for dbm
name: dbm
type: application
Expand Down
Loading