mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
fix: #1279
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -31,7 +31,7 @@ const AccessConfigFormFieldsProviderLeCDN = () => {
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name={[parentNamePath, "apiRole"]} initialValue={initialValues.apiRole} label={t("access.form.lecdn_api_role.label")} rules={[formRule]}>
|
||||
<Radio.Group options={["user", "master"].map((s) => ({ label: t(`access.form.lecdn_api_role.option.${s}.label`), value: s }))} />
|
||||
<Radio.Group options={["client", "master"].map((s) => ({ label: t(`access.form.lecdn_api_role.option.${s}.label`), value: s }))} />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name={[parentNamePath, "username"]} initialValue={initialValues.username} label={t("access.form.lecdn_username.label")} rules={[formRule]}>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user