feat: add baiducloud blb deployer

This commit is contained in:
Fu Diwei
2025-03-25 11:09:32 +08:00
parent e579cf6ceb
commit aaec840d8c
14 changed files with 619 additions and 16 deletions

View File

@@ -54,20 +54,8 @@ const DeployNodeConfigFormAliyunCLBConfig = ({
.max(64, t("common.errmsg.string_max", { max: 64 }))
.trim(),
listenerPort: z
.union([
z
.number()
.refine(
(v) => fieldResourceType === RESOURCE_TYPE_LISTENER && validPortNumber(v),
t("workflow_node.deploy.form.aliyun_clb_listener_port.placeholder")
),
z
.string()
.refine(
(v) => fieldResourceType === RESOURCE_TYPE_LISTENER && validPortNumber(v),
t("workflow_node.deploy.form.aliyun_clb_listener_port.placeholder")
),
])
.union([z.number(), z.string()])
.refine((v) => fieldResourceType === RESOURCE_TYPE_LISTENER && validPortNumber(v), t("workflow_node.deploy.form.aliyun_clb_listener_port.placeholder"))
.nullish(),
domain: z
.string()