Skip to content

Commit

Permalink
refactor(backend): helm整包更新 TencentBlueKing#6855
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecloud committed Sep 11, 2024
1 parent 957c84f commit 08a4058
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dbm-ui/backend/configuration/models/function_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,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.ToolBox.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

0 comments on commit 08a4058

Please sign in to comment.