diff --git a/pkg/core/deployer/providers/lecdn/lecdn_test.go b/pkg/core/deployer/providers/lecdn/lecdn_test.go index 6b6f296ef..13d05c831 100644 --- a/pkg/core/deployer/providers/lecdn/lecdn_test.go +++ b/pkg/core/deployer/providers/lecdn/lecdn_test.go @@ -62,7 +62,7 @@ func TestDeploy(t *testing.T) { provider, err := provider.NewDeployer(&provider.DeployerConfig{ ServerUrl: fServerUrl, ApiVersion: fApiVersion, - ApiRole: "user", + ApiRole: "client", Username: fUsername, Password: fPassword, AllowInsecureConnections: true, diff --git a/ui/src/components/access/forms/AccessConfigFieldsProviderLeCDN.tsx b/ui/src/components/access/forms/AccessConfigFieldsProviderLeCDN.tsx index 40eedabfb..464105f71 100644 --- a/ui/src/components/access/forms/AccessConfigFieldsProviderLeCDN.tsx +++ b/ui/src/components/access/forms/AccessConfigFieldsProviderLeCDN.tsx @@ -31,7 +31,7 @@ const AccessConfigFormFieldsProviderLeCDN = () => { - ({ label: t(`access.form.lecdn_api_role.option.${s}.label`), value: s }))} /> + ({ label: t(`access.form.lecdn_api_role.option.${s}.label`), value: s }))} /> diff --git a/ui/src/i18n/locales/en/nls.workflow.nodes.json b/ui/src/i18n/locales/en/nls.workflow.nodes.json index 309f087c3..eab0cd9ef 100644 --- a/ui/src/i18n/locales/en/nls.workflow.nodes.json +++ b/ui/src/i18n/locales/en/nls.workflow.nodes.json @@ -409,7 +409,7 @@ "workflow_node.deploy.form.aliyun_waf_domain.label": "Alibaba Cloud WAF SNI domain (Optional)", "workflow_node.deploy.form.aliyun_waf_domain.placeholder": "Please enter Alibaba Cloud WAF SNI domain name", "workflow_node.deploy.form.aliyun_waf_domain.help": "Notes: Leave it blank to set the default certificate; otherwise, to set the extension one for SNI.", - "workflow_node.deploy.form.apisix.guide": "Requires APISIX v2.0 or higher.", + "workflow_node.deploy.form.apisix.guide": "Requires APISIX v3.0 or higher.", "workflow_node.deploy.form.apisix_resource_type.option.certificate.label": "SSL certificate", "workflow_node.deploy.form.apisix_certificate_id.label": "APISIX certificate ID", "workflow_node.deploy.form.apisix_certificate_id.placeholder": "Please enter APISIX certificate ID", diff --git a/ui/src/i18n/locales/zh/nls.workflow.nodes.json b/ui/src/i18n/locales/zh/nls.workflow.nodes.json index f5a3fe0b8..600816bfd 100644 --- a/ui/src/i18n/locales/zh/nls.workflow.nodes.json +++ b/ui/src/i18n/locales/zh/nls.workflow.nodes.json @@ -408,7 +408,7 @@ "workflow_node.deploy.form.aliyun_waf_domain.label": "阿里云 WAF 扩展域名(可选)", "workflow_node.deploy.form.aliyun_waf_domain.placeholder": "请输入阿里云 WAF 扩展域名", "workflow_node.deploy.form.aliyun_waf_domain.help": "提示:不填写时,将替换实例的默认证书;否则,将替换扩展域名证书。", - "workflow_node.deploy.form.apisix.guide": "需要 APISIX v2.0 或更高版本。", + "workflow_node.deploy.form.apisix.guide": "需要 APISIX v3.0 或更高版本。", "workflow_node.deploy.form.apisix_resource_type.option.certificate.label": "替换指定证书", "workflow_node.deploy.form.apisix_certificate_id.label": "APISIX 证书 ID", "workflow_node.deploy.form.apisix_certificate_id.placeholder": "请输入 APISIX 证书 ID",