This commit is contained in:
xiaojunnuo
2026-03-31 23:57:25 +08:00
parent 6b52276fb6
commit de0ae14544
34 changed files with 340 additions and 101 deletions
+13
View File
@@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.39.8](https://github.com/certd/certd/compare/v1.39.7...v1.39.8) (2026-03-31)
### Bug Fixes
* 修复某些情况下报没有匹配到任何校验方式的bug ([fe02ce7](https://github.com/certd/certd/commit/fe02ce7b64cf23c4dc4c30daccd5330059a35e9a))
### Performance Improvements
* 阿里云CDN部署支持根据证书域名自动匹配部署 ([a68301e](https://github.com/certd/certd/commit/a68301e4dcea8b7391ad751aa57555d566297ad9))
* 阿里云dcdn支持根据证书域名匹配模式 ([df012de](https://github.com/certd/certd/commit/df012dec90590ecba85a69ed6355cfa8382c1da3))
* 支持部署证书到百度CCE ([a19ea74](https://github.com/certd/certd/commit/a19ea7489c01cdbf795fb51f804bd6d00389f604))
* dcdn自动匹配部署,支持新增域名感知 ([c6a988b](https://github.com/certd/certd/commit/c6a988bc925886bd7163c1270f2b7a10a57b1c5b))
## [1.39.7](https://github.com/certd/certd/compare/v1.39.6...v1.39.7) (2026-03-25)
### Bug Fixes
@@ -7,6 +7,7 @@ title: 阿里云-部署证书至CDN
icon: svg:icon-aliyun
group: aliyun
desc: 自动部署域名证书至阿里云CDN
runStrategy: 0
input:
endpoint:
title: 证书服务接入点
@@ -59,36 +60,6 @@ input:
type: aliyun
required: true
order: 0
domainName:
title: CDN加速域名
component:
name: remote-select
vModel: value
mode: tags
type: plugin
typeName: DeployCertToAliyunCDN
action: onGetDomainList
search: false
pager: false
multi: true
watches:
- certDomains
- accessId
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 你在阿里云上配置的CDN加速域名,比如:certd.docmirror.cn
order: 0
certRegion:
title: 证书所在地域
helper: cn-hangzhou和ap-southeast-1,默认cn-hangzhou。国际站用户建议使用ap-southeast-1。
@@ -106,7 +77,49 @@ input:
title: 证书名称
helper: 上传后将以此名称作为前缀备注
order: 0
output: {}
domainMatchMode:
title: 域名匹配模式
helper: 根据证书匹配:根据证书域名自动匹配DCDN加速域名自动部署,新增加速域名自动感知,自动新增部署
component:
name: a-select
options:
- label: 手动选择
value: manual
- label: 根据证书匹配
value: auto
value: manual
order: 0
domainName:
title: CDN加速域名
component:
name: remote-select
vModel: value
mode: tags
type: plugin
typeName: DeployCertToAliyunCDN
action: onGetDomainList
search: false
pager: true
multi: true
watches:
- certDomains
- accessId
- certDomains
- accessId
required: true
mergeScript: |2-
return {
show: ctx.compute(({form})=>{
return form.domainMatchMode === "manual"
})
}
helper: 你在阿里云上配置的CDN加速域名,比如:certd.docmirror.cn
order: 0
output:
deployedList:
title: 已部署过的DCDN加速域名
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-cdn/index.js
@@ -7,6 +7,7 @@ title: 阿里云-部署证书至DCDN
icon: svg:icon-aliyun
group: aliyun
desc: 依赖证书申请前置任务,自动部署域名证书至阿里云DCDN
runStrategy: 0
input:
cert:
title: 域名证书
@@ -47,6 +48,18 @@ input:
title: 证书名称
helper: 上传后将以此名称作为前缀备注
order: 0
domainMatchMode:
title: 域名匹配模式
helper: 根据证书匹配:根据证书域名自动匹配DCDN加速域名自动部署,新增加速域名自动感知,自动新增部署
component:
name: a-select
options:
- label: 手动选择
value: manual
- label: 根据证书匹配
value: auto
value: manual
order: 0
domainName:
title: DCDN加速域名
component:
@@ -56,7 +69,7 @@ input:
type: plugin
action: onGetDomainList
search: false
pager: false
pager: true
multi: true
watches:
- certDomains
@@ -66,17 +79,17 @@ input:
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
return {
show: ctx.compute(({form})=>{
return form.domainMatchMode === "manual"
})
}
helper: 你在阿里云上配置的DCDN加速域名,比如:certd.docmirror.cn
order: 0
output: {}
output:
deployedList:
title: 已部署过的DCDN加速域名
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-dcdn/index.js
@@ -0,0 +1,110 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: DeployCertToBaiduCce
title: 百度云-部署到CCE
icon: ant-design:cloud-outlined
desc: 部署到百度云CCE集群Ingress等通过Secret管理证书的应用
group: baidu
needPlus: true
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
required: true
order: 0
accessId:
title: Access授权
helper: 百度云授权AccessKey、SecretKey
component:
name: access-selector
type: baidu
required: true
order: 0
regionId:
title: 大区
component:
name: a-auto-complete
vModel: value
options:
- value: bj
label: 北京
- value: gz
label: 广州
- value: su
label: 苏州
- value: bd
label: 保定
- value: fwh
label: 武汉
- value: hkg
label: 香港
- value: yq
label: 阳泉
- value: cd
label: 成都
- value: nj
label: 南京
placeholder: 集群所属大区
required: true
order: 0
clusterId:
title: 集群id
component:
placeholder: 集群id
required: true
order: 0
secretName:
title: 保密字典Id
component:
placeholder: 保密字典Id
helper: 原本存储证书的secret的name
required: true
order: 0
namespace:
title: 命名空间
value: default
component:
placeholder: 命名空间
required: true
order: 0
kubeconfigType:
title: Kubeconfig类型
value: public
component:
name: a-auto-complete
vModel: value
options:
- value: vpc
label: VPC私网IP (BLB VPCIP)
- value: public
label: 公网IP (BLB EIP)
placeholder: 选择集群连接端点类型
helper: VPC类型使用私网IP连接,需要certd运行在同一网络环境;public类型使用公网IP连接
required: true
order: 0
skipTLSVerify:
title: 忽略证书校验
required: false
helper: 是否忽略证书校验
component:
name: a-switch
vModel: checked
order: 0
createOnNotFound:
title: Secret自动创建
helper: 如果Secret不存在,则创建,百度云的自动创建secret有问题
value: false
component:
name: a-switch
vModel: checked
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-plus/baidu/plugins/plugin-deploy-to-cce.js
@@ -35,6 +35,19 @@ input:
type: k8s
required: true
order: 0
strategy:
title: 应用策略
helper: 选择使用apply(创建或更新)还是patch(补丁更新)
component:
name: a-select
options:
- label: apply(创建)
value: apply
- label: patch(更新)
value: patch
value: apply
required: true
order: 0
yamlContent:
title: yaml
required: true
+14 -14
View File
@@ -1,6 +1,6 @@
{
"name": "@certd/ui-server",
"version": "1.39.7",
"version": "1.39.8",
"description": "fast-server base midway",
"private": true,
"type": "module",
@@ -50,20 +50,20 @@
"@aws-sdk/client-route-53": "^3.964.0",
"@aws-sdk/client-s3": "^3.964.0",
"@aws-sdk/client-sts": "^3.990.0",
"@certd/acme-client": "^1.39.7",
"@certd/basic": "^1.39.7",
"@certd/commercial-core": "^1.39.7",
"@certd/acme-client": "^1.39.8",
"@certd/basic": "^1.39.8",
"@certd/commercial-core": "^1.39.8",
"@certd/cv4pve-api-javascript": "^8.4.2",
"@certd/jdcloud": "^1.39.7",
"@certd/lib-huawei": "^1.39.7",
"@certd/lib-k8s": "^1.39.7",
"@certd/lib-server": "^1.39.7",
"@certd/midway-flyway-js": "^1.39.7",
"@certd/pipeline": "^1.39.7",
"@certd/plugin-cert": "^1.39.7",
"@certd/plugin-lib": "^1.39.7",
"@certd/plugin-plus": "^1.39.7",
"@certd/plus-core": "^1.39.7",
"@certd/jdcloud": "^1.39.8",
"@certd/lib-huawei": "^1.39.8",
"@certd/lib-k8s": "^1.39.8",
"@certd/lib-server": "^1.39.8",
"@certd/midway-flyway-js": "^1.39.8",
"@certd/pipeline": "^1.39.8",
"@certd/plugin-cert": "^1.39.8",
"@certd/plugin-lib": "^1.39.8",
"@certd/plugin-plus": "^1.39.8",
"@certd/plus-core": "^1.39.8",
"@google-cloud/publicca": "^1.3.0",
"@huaweicloud/huaweicloud-sdk-cdn": "^3.1.185",
"@huaweicloud/huaweicloud-sdk-core": "^3.1.185",