mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
chore: 忽略sourcemap,gen metadata
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":false,
|
||||
"sourceMap": false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
@@ -21,7 +23,6 @@
|
||||
"useDefineForClassFields": true,
|
||||
"strict": true,
|
||||
"typeRoots": [ "./typings", "./node_modules/@types"],
|
||||
"inlineSourceMap": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": false,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"sourceMap": false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"importHelpers": true,
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"composite": false,
|
||||
"useDefineForClassFields": true,
|
||||
"strict": false,
|
||||
"sourceMap": true,
|
||||
"sourceMap": false,
|
||||
"inlineSourceMap": false,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": false,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"composite": false,
|
||||
"useDefineForClassFields": true,
|
||||
"strict": false,
|
||||
"sourceMap": true,
|
||||
"sourceMap": false,
|
||||
"inlineSourceMap": false,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": false,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"isolatedModules": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"sourceMap": false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"sourceMap": false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"inlineSourceMap":true,
|
||||
"inlineSourceMap":false,
|
||||
"sourceMap": false,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"stripInternal": true,
|
||||
|
||||
@@ -56,7 +56,6 @@ async function genMetadata(){
|
||||
fs.rmSync("./metadata", { recursive: true });
|
||||
fs.mkdirSync("./metadata", { recursive: true });
|
||||
for (const key in modules) {
|
||||
console.log(key)
|
||||
const module = modules[key]
|
||||
const entry = Object.entries(module)
|
||||
for (const [name, value] of entry) {
|
||||
@@ -88,6 +87,7 @@ async function genMetadata(){
|
||||
const filePath = path.join(`./metadata/${pluginDefine.pluginType}_${pluginDefine.name}.yaml`)
|
||||
|
||||
pluginDefine.scriptFilePath = location
|
||||
console.log(location)
|
||||
const data = yaml.dump(pluginDefine)
|
||||
fs.writeFileSync(filePath,data ,'utf8')
|
||||
}
|
||||
|
||||
28
packages/ui/certd-server/metadata/access_apisix.yaml
Normal file
28
packages/ui/certd-server/metadata/access_apisix.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: apisix
|
||||
title: APISIX授权
|
||||
desc: ''
|
||||
icon: svg:icon-lucky
|
||||
input:
|
||||
endpoint:
|
||||
title: Apisix管理地址
|
||||
component:
|
||||
placeholder: http://192.168.11.11:9180
|
||||
required: true
|
||||
apiKey:
|
||||
title: ApiKey
|
||||
component:
|
||||
placeholder: ApiKey
|
||||
helper: >-
|
||||
[参考文档](https://apisix.apache.org/docs/apisix/admin-api/#using-environment-variables)在config中配置admin
|
||||
apiKey
|
||||
required: true
|
||||
encrypt: true
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-apisix/index.js
|
||||
22
packages/ui/certd-server/metadata/access_aws-cn.yaml
Normal file
22
packages/ui/certd-server/metadata/access_aws-cn.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: aws-cn
|
||||
title: 亚马逊云科技(国区)授权
|
||||
desc: ''
|
||||
icon: svg:icon-aws
|
||||
input:
|
||||
accessKeyId:
|
||||
title: accessKeyId
|
||||
component:
|
||||
placeholder: accessKeyId
|
||||
helper: >-
|
||||
右上角->安全凭证->访问密钥,[点击前往](https://cn-north-1.console.amazonaws.cn/iam/home?region=cn-north-1#/security_credentials/access-key-wizard#)
|
||||
required: true
|
||||
secretAccessKey:
|
||||
title: secretAccessKey
|
||||
component:
|
||||
placeholder: secretAccessKey
|
||||
required: true
|
||||
encrypt: true
|
||||
helper: 请妥善保管您的安全访问密钥。您可以在AWS管理控制台的IAM中创建新的访问密钥。
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-aws-cn/index.js
|
||||
@@ -17,6 +17,154 @@ input:
|
||||
required: true
|
||||
encrypt: true
|
||||
helper: 请妥善保管您的安全访问密钥。您可以在AWS管理控制台的IAM中创建新的访问密钥。
|
||||
region:
|
||||
title: region
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- label: '------中国区------'
|
||||
value: cn
|
||||
disabled: true
|
||||
- label: 北京
|
||||
value: cn-north-1
|
||||
- label: 宁夏
|
||||
value: cn-northwest-1
|
||||
- label: '------海外-----'
|
||||
value: out
|
||||
disabled: true
|
||||
- label: us-east-1
|
||||
value: us-east-1
|
||||
- label: us-east-2
|
||||
value: us-east-2
|
||||
- label: us-west-1
|
||||
value: us-west-1
|
||||
- label: us-west-2
|
||||
value: us-west-2
|
||||
- label: af-south-1
|
||||
value: af-south-1
|
||||
- label: ap-east-1
|
||||
value: ap-east-1
|
||||
- label: ap-northeast-1
|
||||
value: ap-northeast-1
|
||||
- label: ap-northeast-2
|
||||
value: ap-northeast-2
|
||||
- label: ap-northeast-3
|
||||
value: ap-northeast-3
|
||||
- label: ap-south-1
|
||||
value: ap-south-1
|
||||
- label: ap-south-2
|
||||
value: ap-south-2
|
||||
- label: ap-southeast-1
|
||||
value: ap-southeast-1
|
||||
- label: ap-southeast-2
|
||||
value: ap-southeast-2
|
||||
- label: ap-southeast-3
|
||||
value: ap-southeast-3
|
||||
- label: ap-southeast-4
|
||||
value: ap-southeast-4
|
||||
- label: ap-southeast-5
|
||||
value: ap-southeast-5
|
||||
- label: ca-central-1
|
||||
value: ca-central-1
|
||||
- label: ca-west-1
|
||||
value: ca-west-1
|
||||
- label: eu-central-1
|
||||
value: eu-central-1
|
||||
- label: eu-central-2
|
||||
value: eu-central-2
|
||||
- label: eu-north-1
|
||||
value: eu-north-1
|
||||
- label: eu-south-1
|
||||
value: eu-south-1
|
||||
- label: eu-south-2
|
||||
value: eu-south-2
|
||||
- label: eu-west-1
|
||||
value: eu-west-1
|
||||
- label: eu-west-2
|
||||
value: eu-west-2
|
||||
- label: eu-west-3
|
||||
value: eu-west-3
|
||||
- label: il-central-1
|
||||
value: il-central-1
|
||||
- label: me-central-1
|
||||
value: me-central-1
|
||||
- label: me-south-1
|
||||
value: me-south-1
|
||||
- label: sa-east-1
|
||||
value: sa-east-1
|
||||
required: true
|
||||
helper: 请选择您的默认AWS区域,主要区分中国区还是海外区即可
|
||||
options:
|
||||
- label: '------中国区------'
|
||||
value: cn
|
||||
disabled: true
|
||||
- label: 北京
|
||||
value: cn-north-1
|
||||
- label: 宁夏
|
||||
value: cn-northwest-1
|
||||
- label: '------海外-----'
|
||||
value: out
|
||||
disabled: true
|
||||
- label: us-east-1
|
||||
value: us-east-1
|
||||
- label: us-east-2
|
||||
value: us-east-2
|
||||
- label: us-west-1
|
||||
value: us-west-1
|
||||
- label: us-west-2
|
||||
value: us-west-2
|
||||
- label: af-south-1
|
||||
value: af-south-1
|
||||
- label: ap-east-1
|
||||
value: ap-east-1
|
||||
- label: ap-northeast-1
|
||||
value: ap-northeast-1
|
||||
- label: ap-northeast-2
|
||||
value: ap-northeast-2
|
||||
- label: ap-northeast-3
|
||||
value: ap-northeast-3
|
||||
- label: ap-south-1
|
||||
value: ap-south-1
|
||||
- label: ap-south-2
|
||||
value: ap-south-2
|
||||
- label: ap-southeast-1
|
||||
value: ap-southeast-1
|
||||
- label: ap-southeast-2
|
||||
value: ap-southeast-2
|
||||
- label: ap-southeast-3
|
||||
value: ap-southeast-3
|
||||
- label: ap-southeast-4
|
||||
value: ap-southeast-4
|
||||
- label: ap-southeast-5
|
||||
value: ap-southeast-5
|
||||
- label: ca-central-1
|
||||
value: ca-central-1
|
||||
- label: ca-west-1
|
||||
value: ca-west-1
|
||||
- label: eu-central-1
|
||||
value: eu-central-1
|
||||
- label: eu-central-2
|
||||
value: eu-central-2
|
||||
- label: eu-north-1
|
||||
value: eu-north-1
|
||||
- label: eu-south-1
|
||||
value: eu-south-1
|
||||
- label: eu-south-2
|
||||
value: eu-south-2
|
||||
- label: eu-west-1
|
||||
value: eu-west-1
|
||||
- label: eu-west-2
|
||||
value: eu-west-2
|
||||
- label: eu-west-3
|
||||
value: eu-west-3
|
||||
- label: il-central-1
|
||||
value: il-central-1
|
||||
- label: me-central-1
|
||||
value: me-central-1
|
||||
- label: me-south-1
|
||||
value: me-south-1
|
||||
- label: sa-east-1
|
||||
value: sa-east-1
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-aws/index.js
|
||||
|
||||
25
packages/ui/certd-server/metadata/access_cmcc.yaml
Normal file
25
packages/ui/certd-server/metadata/access_cmcc.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: cmcc
|
||||
title: 中国移动CND授权
|
||||
desc: ''
|
||||
icon: svg:cmcc
|
||||
input:
|
||||
tenantId:
|
||||
title: TenantID
|
||||
component:
|
||||
placeholder: TenantID
|
||||
required: true
|
||||
tenantKey:
|
||||
title: TenantKey
|
||||
component:
|
||||
placeholder: TenantKey
|
||||
required: true
|
||||
encrypt: true
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-cmcc/index.js
|
||||
@@ -1,38 +0,0 @@
|
||||
name: dnspod
|
||||
title: dnspod(已废弃)
|
||||
desc: 腾讯云的域名解析接口已迁移到dnspod
|
||||
deprecated: dnspod已废弃,请换成腾讯云
|
||||
icon: svg:icon-tencentcloud
|
||||
input:
|
||||
endpoint:
|
||||
title: 端点
|
||||
component:
|
||||
placeholder: endpoint
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: https://dnsapi.cn
|
||||
label: 中国站
|
||||
- value: https://api.dnspod.com
|
||||
label: 国际站
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
id:
|
||||
title: ID
|
||||
component:
|
||||
placeholder: dnspod token 的 id
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
token:
|
||||
title: token
|
||||
component:
|
||||
placeholder: 开放接口token
|
||||
encrypt: true
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/index.js
|
||||
28
packages/ui/certd-server/metadata/access_dokploy.yaml
Normal file
28
packages/ui/certd-server/metadata/access_dokploy.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: dokploy
|
||||
title: Dokploy授权
|
||||
desc: ''
|
||||
icon: svg:icon-lucky
|
||||
input:
|
||||
endpoint:
|
||||
title: Dokploy地址
|
||||
component:
|
||||
placeholder: http://192.168.11.11:5480
|
||||
required: true
|
||||
apiKey:
|
||||
title: ApiKey
|
||||
component:
|
||||
placeholder: ApiKey
|
||||
helper: >-
|
||||
[settings-profile](https://app.dokploy.com/dashboard/settings/profile)中配置API
|
||||
Keys
|
||||
required: true
|
||||
encrypt: true
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-dokploy/index.js
|
||||
49
packages/ui/certd-server/metadata/access_farcdn.yaml
Normal file
49
packages/ui/certd-server/metadata/access_farcdn.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
name: farcdn
|
||||
title: farcdn授权
|
||||
desc: ''
|
||||
icon: svg:icon-lucky
|
||||
input:
|
||||
endpoint:
|
||||
title: 接口地址
|
||||
value: https://open.farcdn.net/api/source
|
||||
component:
|
||||
placeholder: https://open.farcdn.net/api/source
|
||||
name: a-input
|
||||
vModel: value
|
||||
required: true
|
||||
accessKeyId:
|
||||
title: accessKeyId
|
||||
component:
|
||||
placeholder: accessKeyId
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: false
|
||||
required: true
|
||||
accessKey:
|
||||
title: accessKey
|
||||
component:
|
||||
placeholder: accessKey
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: true
|
||||
required: true
|
||||
httpProxy:
|
||||
title: HttpProxy
|
||||
component:
|
||||
placeholder: http://192.168.x.x:10811
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: false
|
||||
required: false
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-farcdn/index.js
|
||||
59
packages/ui/certd-server/metadata/access_flexcdn.yaml
Normal file
59
packages/ui/certd-server/metadata/access_flexcdn.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
name: flexcdn
|
||||
title: FlexCDN授权
|
||||
desc: ''
|
||||
icon: svg:icon-lucky
|
||||
input:
|
||||
endpoint:
|
||||
title: 接口地址
|
||||
component:
|
||||
placeholder: http://xxxxxxx:8080
|
||||
name: a-input
|
||||
vModel: value
|
||||
required: true
|
||||
type:
|
||||
title: 用户类型
|
||||
component:
|
||||
placeholder: 请选择
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: user
|
||||
label: 普通用户
|
||||
- value: admin
|
||||
label: 管理员
|
||||
required: true
|
||||
accessKeyId:
|
||||
title: accessKeyId
|
||||
component:
|
||||
placeholder: accessKeyId
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: false
|
||||
required: true
|
||||
accessKey:
|
||||
title: accessKey
|
||||
component:
|
||||
placeholder: accessKey
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: true
|
||||
required: true
|
||||
skipSslVerify:
|
||||
title: 忽略证书校验
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
encrypt: false
|
||||
required: true
|
||||
value: false
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口看是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-flex/index.js
|
||||
43
packages/ui/certd-server/metadata/access_github.yaml
Normal file
43
packages/ui/certd-server/metadata/access_github.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
name: github
|
||||
title: Github授权
|
||||
desc: ''
|
||||
icon: ion:logo-github
|
||||
input:
|
||||
endpoint:
|
||||
title: 接口地址
|
||||
component:
|
||||
placeholder: 可以使用反向代理地址
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
helper: 默认值:https://api.github.com
|
||||
encrypt: false
|
||||
required: false
|
||||
githubToken:
|
||||
title: GithubToken
|
||||
component:
|
||||
placeholder: GithubToken
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
helper: 支持匿名访问的接口可以不填
|
||||
encrypt: true
|
||||
required: false
|
||||
httpProxy:
|
||||
title: HttpProxy
|
||||
component:
|
||||
placeholder: http://192.168.x.x:10811
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: false
|
||||
required: false
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-github/index.js
|
||||
35
packages/ui/certd-server/metadata/access_godaddy.yaml
Normal file
35
packages/ui/certd-server/metadata/access_godaddy.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: godaddy
|
||||
title: godaddy授权
|
||||
icon: simple-icons:godaddy
|
||||
desc: ''
|
||||
input:
|
||||
key:
|
||||
title: Key
|
||||
component:
|
||||
placeholder: 授权key
|
||||
helper: >-
|
||||
[https://developer.godaddy.com/keys](https://developer.godaddy.com/keys),创建key(选择product,不要选择ote)
|
||||
required: true
|
||||
encrypt: false
|
||||
secret:
|
||||
title: Secret
|
||||
component:
|
||||
name: a-input-password
|
||||
vModel: value
|
||||
required: true
|
||||
encrypt: true
|
||||
httpProxy:
|
||||
title: HTTP代理
|
||||
component:
|
||||
placeholder: http://xxxxx:xx
|
||||
helper: 使用https_proxy
|
||||
required: false
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常(注意账号中必须要有50个域名才能使用API接口)
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-godaddy/index.js
|
||||
51
packages/ui/certd-server/metadata/access_goedge.yaml
Normal file
51
packages/ui/certd-server/metadata/access_goedge.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
name: goedge
|
||||
title: GoEdge授权
|
||||
icon: fa-solid:leaf:#6C6BF6
|
||||
order: 100
|
||||
input:
|
||||
endpoint:
|
||||
title: 系统地址
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
helper: 例如:http://yourdomain.com:8002, 需要在API节点配置中开启HTTP访问地址
|
||||
encrypt: false
|
||||
required: true
|
||||
userType:
|
||||
title: 用户类型
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- label: 用户
|
||||
value: user
|
||||
- label: 管理员
|
||||
value: admin
|
||||
encrypt: false
|
||||
required: true
|
||||
accessKeyId:
|
||||
title: accessKeyId
|
||||
helper: |-
|
||||
用户AccessKey: 在”平台用户-用户-详情-AccessKey” 或 商业版的“访问控制” 中创建。
|
||||
管理员AccessKey:在”系统用户-用户-详情-AccessKey” 中创建。
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: false
|
||||
required: true
|
||||
accessKey:
|
||||
title: accessKey
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
encrypt: true
|
||||
required: true
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-goedge/index.js
|
||||
@@ -2,6 +2,7 @@ name: huawei
|
||||
title: 华为云授权
|
||||
desc: ''
|
||||
icon: svg:icon-huawei
|
||||
order: 0
|
||||
input:
|
||||
accessKeyId:
|
||||
title: accessKeyId
|
||||
|
||||
@@ -2,6 +2,7 @@ name: jdcloud
|
||||
title: 京东云
|
||||
desc: ''
|
||||
icon: svg:icon-jdcloud
|
||||
order: 1
|
||||
input:
|
||||
accessKeyId:
|
||||
title: AccessKeyID
|
||||
|
||||
26
packages/ui/certd-server/metadata/access_ksyun.yaml
Normal file
26
packages/ui/certd-server/metadata/access_ksyun.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: ksyun
|
||||
title: 金山云授权
|
||||
desc: ''
|
||||
icon: svg:icon-ksyun
|
||||
input:
|
||||
accessKeyId:
|
||||
title: AccessKeyID
|
||||
component:
|
||||
placeholder: AccessKeyID
|
||||
helper: '[获取密钥](https://uc.console.ksyun.com/pro/iam/#/set/keyManage)'
|
||||
required: true
|
||||
accessKeySecret:
|
||||
title: AccessKeySecret
|
||||
component:
|
||||
placeholder: AccessKeySecret
|
||||
required: true
|
||||
encrypt: true
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: TestRequest
|
||||
helper: 点击测试接口是否正常
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-ksyun/index.js
|
||||
@@ -1,34 +0,0 @@
|
||||
name: proxmox
|
||||
title: proxmox
|
||||
desc: ''
|
||||
icon: svg:icon-proxmox
|
||||
input:
|
||||
host:
|
||||
title: host
|
||||
component:
|
||||
placeholder: IP或域名
|
||||
required: true
|
||||
encrypt: false
|
||||
port:
|
||||
title: 端口
|
||||
component:
|
||||
placeholder: 端口
|
||||
component:
|
||||
name: a-input-number
|
||||
required: true
|
||||
encrypt: false
|
||||
username:
|
||||
title: 用户名
|
||||
component:
|
||||
placeholder: username
|
||||
required: true
|
||||
encrypt: false
|
||||
password:
|
||||
title: 密码
|
||||
component:
|
||||
placeholder: password
|
||||
required: true
|
||||
encrypt: true
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-proxmox/index.js
|
||||
@@ -1,19 +0,0 @@
|
||||
name: upyun
|
||||
title: 又拍云
|
||||
desc: ''
|
||||
icon: svg:icon-upyun
|
||||
input:
|
||||
username:
|
||||
title: 账号
|
||||
component:
|
||||
placeholder: 又拍云账号
|
||||
required: true
|
||||
password:
|
||||
title: 密码
|
||||
component:
|
||||
placeholder: 又拍云密码
|
||||
required: true
|
||||
encrypt: true
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-upyun/index.js
|
||||
@@ -1,20 +0,0 @@
|
||||
name: volcengine
|
||||
title: 火山引擎
|
||||
desc: ''
|
||||
icon: svg:icon-volcengine
|
||||
input:
|
||||
accessKeyId:
|
||||
title: AccessKeyID
|
||||
component:
|
||||
placeholder: AccessKeyID
|
||||
helper: '[获取密钥](https://console.volcengine.com/iam/keymanage/)'
|
||||
required: true
|
||||
secretAccessKey:
|
||||
title: SecretAccessKey
|
||||
component:
|
||||
placeholder: SecretAccessKey
|
||||
required: true
|
||||
encrypt: true
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/index.js
|
||||
@@ -1,67 +0,0 @@
|
||||
name: west
|
||||
title: 西部数码授权
|
||||
desc: ''
|
||||
icon: tabler:map-west
|
||||
input:
|
||||
scope:
|
||||
title: 权限范围
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: account
|
||||
label: 账户级别,对所有域名都有权限管理
|
||||
- value: domain
|
||||
label: 域名级别,仅能管理单个域名
|
||||
helper: 选择权限范围
|
||||
required: true
|
||||
username:
|
||||
title: 账号
|
||||
helper: 你的登录账号
|
||||
encrypt: false
|
||||
required: false
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show:ctx.compute(({form})=>{
|
||||
return form.access.scope === 'account'
|
||||
})
|
||||
}
|
||||
|
||||
apikey:
|
||||
title: ApiKey
|
||||
component:
|
||||
placeholder: 账户级别的key,对整个账户都有管理权限
|
||||
helper: |-
|
||||
账户级别的key,对整个账户都有管理权限
|
||||
前往https://www.west.cn/manager/API/APIconfig.asp,手动设置“api连接密码”
|
||||
encrypt: true
|
||||
required: false
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show:ctx.compute(({form})=>{
|
||||
return form.access.scope === 'account'
|
||||
})
|
||||
}
|
||||
|
||||
apidomainkey:
|
||||
title: apidomainkey
|
||||
component:
|
||||
placeholder: 域名级别的key,仅对单个域名有权限
|
||||
helper: |-
|
||||
域名级别的key,仅对单个域名有权限。
|
||||
前往[西部数据域名管理](https://www.west.cn/manager/domain/),点击域名,右上方点击ApiKey获取密钥
|
||||
encrypt: true
|
||||
required: false
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show:ctx.compute(({form})=>{
|
||||
return form.access.scope === 'domain'
|
||||
})
|
||||
}
|
||||
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-west/index.js
|
||||
@@ -1,19 +0,0 @@
|
||||
name: woai
|
||||
title: 我爱云授权
|
||||
desc: 我爱云CDN
|
||||
icon: clarity:plugin-line
|
||||
input:
|
||||
username:
|
||||
title: 账号
|
||||
component:
|
||||
placeholder: 我爱云的账号
|
||||
required: true
|
||||
password:
|
||||
title: 密码
|
||||
component:
|
||||
placeholder: 我爱云的密码
|
||||
required: true
|
||||
encrypt: true
|
||||
type: builtIn
|
||||
pluginType: access
|
||||
scriptFilePath: ../../../plugins/plugin-woai/index.js
|
||||
@@ -17,9 +17,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
@@ -37,8 +35,24 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
@@ -55,6 +69,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToALB
|
||||
action: onGetRegionList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -81,6 +97,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToALB
|
||||
action: onGetLoadBalanceList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -107,6 +125,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToALB
|
||||
action: onGetListenerList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -124,19 +144,25 @@ input:
|
||||
|
||||
helper: 要部署证书的监听器列表
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
deployType:
|
||||
title: 部署证书类型
|
||||
value: default
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
- label: 默认证书
|
||||
value: default
|
||||
- label: 扩展证书
|
||||
value: extension
|
||||
required: true
|
||||
order: 0
|
||||
clearExpiredCert:
|
||||
title: 是否清理过期证书
|
||||
value: true
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
|
||||
@@ -2,22 +2,22 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: UpyunDeployToCdn
|
||||
title: 又拍云-部署证书到CDN/USS
|
||||
icon: svg:icon-upyun
|
||||
desc: 支持又拍云CDN,又拍云云存储USS
|
||||
group: cdn
|
||||
needPlus: true
|
||||
name: AliyunDeployCertToESA
|
||||
title: 阿里云-部署至ESA
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 部署证书到阿里云ESA(边缘安全加速),自动删除过期证书
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
helper: 请选择证书申请任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
@@ -33,28 +33,58 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Upyun授权
|
||||
regionId:
|
||||
title: 大区
|
||||
value: cn-hangzhou
|
||||
component:
|
||||
name: access-selector
|
||||
type: upyun
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: cn-hangzhou
|
||||
label: 华东1(杭州)
|
||||
- value: ap-southeast-1
|
||||
label: 新加坡
|
||||
required: true
|
||||
order: 0
|
||||
cdnList:
|
||||
title: 加速域名
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
siteIds:
|
||||
title: 站点
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: UpyunDeployToCdn
|
||||
action: onGetCdnList
|
||||
action: onGetSiteList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- accessId
|
||||
- regionId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -66,39 +96,9 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: 选择加速域名,可以手动输入
|
||||
order: 0
|
||||
forceHttps:
|
||||
title: 强制HTTPS
|
||||
value: keep
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: 'true'
|
||||
label: 强制HTTPS
|
||||
- value: 'false'
|
||||
label: 不强制HTTPS
|
||||
- value: keep
|
||||
label: 保持原样
|
||||
required: true
|
||||
order: 0
|
||||
https:
|
||||
title: 开启HTTPS
|
||||
value: 'true'
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: 'true'
|
||||
label: 开启HTTPS
|
||||
- value: 'false'
|
||||
label: 关闭HTTPS
|
||||
- value: keep
|
||||
label: 保持原样
|
||||
required: true
|
||||
helper: 请选择要部署证书的站点
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-upyun/plugins/plugin-depoy-to-cdn.js
|
||||
scriptFilePath: ../../../plugins/plugin-aliyun/plugin/index.js
|
||||
@@ -6,8 +6,8 @@ name: AliyunDeployCertToFC
|
||||
title: 阿里云-部署至阿里云FC(3.0)
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 部署证书到阿里云函数计算(FC3.0),【注意】证书的加密算法必须选择【pkcs1旧版】
|
||||
needPlus: true
|
||||
desc: 部署证书到阿里云函数计算(FC3.0)
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -15,9 +15,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -34,6 +32,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
regionId:
|
||||
@@ -110,6 +109,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToFC
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -126,15 +127,14 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: |-
|
||||
请选择要部署证书的域名
|
||||
【注意】证书的加密算法必须选择【pkcs1旧版】(否则会报'private key' has to be in PEM format错误)
|
||||
helper: 请选择要部署证书的域名
|
||||
order: 0
|
||||
protocol:
|
||||
title: 域名支持的协议类型
|
||||
value: ''
|
||||
component:
|
||||
name: a-select
|
||||
value: ''
|
||||
vModel: value
|
||||
options:
|
||||
- value: ''
|
||||
label: 保持原样(适用于原来已经开启了HTTPS)
|
||||
@@ -143,6 +143,10 @@ input:
|
||||
- value: HTTP,HTTPS
|
||||
label: HTTP与HTTPS同时支持
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
|
||||
@@ -17,9 +17,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
@@ -37,8 +35,24 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
@@ -55,6 +69,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToNLB
|
||||
action: onGetRegionList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -81,6 +97,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToNLB
|
||||
action: onGetLoadBalanceList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -107,6 +125,8 @@ input:
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToNLB
|
||||
action: onGetListenerList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -124,19 +144,17 @@ input:
|
||||
|
||||
helper: 要部署证书的监听器列表
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
deployType:
|
||||
title: 部署证书类型
|
||||
value: default
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
- label: 默认证书
|
||||
value: default
|
||||
- label: 扩展证书
|
||||
value: extension
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
|
||||
@@ -3,10 +3,10 @@ default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: AliyunDeployCertToSLB
|
||||
title: 阿里云-部署至SLB(传统负载均衡)
|
||||
title: 阿里云-部署至CLB(传统负载均衡)
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 部署证书到阿里云SLB(传统负载均衡)
|
||||
desc: 部署证书到阿里云CLB(传统负载均衡)
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
@@ -17,9 +17,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
@@ -37,8 +35,24 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
@@ -53,8 +67,9 @@ input:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToSLB
|
||||
action: onGetRegionList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -79,8 +94,9 @@ input:
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToSLB
|
||||
action: onGetLoadBalanceList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -105,8 +121,9 @@ input:
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToSLB
|
||||
action: onGetListenerList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -124,20 +141,45 @@ input:
|
||||
|
||||
helper: 要部署证书的监听器列表
|
||||
order: 0
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
deployDefault:
|
||||
title: 部署默认证书
|
||||
value: true
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
order: 0
|
||||
deployExtension:
|
||||
title: 部署扩展证书
|
||||
value: false
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
order: 0
|
||||
extensionDomains:
|
||||
title: 扩展域名列表
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetExtensionDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- listeners
|
||||
- deployExtension
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.deployExtension;
|
||||
})
|
||||
}
|
||||
|
||||
helper: 要部署扩展域名列表
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
|
||||
@@ -2,22 +2,20 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineDeployToCDN
|
||||
title: 火山引擎-部署证书至CDN
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 支持网页,文件下载,音视频点播
|
||||
name: AliyunDeployCertToVod
|
||||
title: 阿里云-部署至VOD
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 部署证书到阿里云视频点播(vod)
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
helper: 请选择证书申请任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- VolcengineUploadToCertCenter
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -34,45 +32,46 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
required: true
|
||||
order: 0
|
||||
serviceType:
|
||||
title: 服务类型
|
||||
helper: 网页,文件下载,音视频点播
|
||||
casEndpoint:
|
||||
title: 证书接入点
|
||||
helper: 不会选就保持默认即可
|
||||
value: cas.aliyuncs.com
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- label: 网页
|
||||
value: web
|
||||
- label: 文件下载
|
||||
value: download
|
||||
- label: 音视频点播
|
||||
value: video
|
||||
value: web
|
||||
- value: cas.aliyuncs.com
|
||||
label: 中国大陆
|
||||
- value: cas.ap-southeast-1.aliyuncs.com
|
||||
label: 新加坡
|
||||
- value: cas.eu-central-1.aliyuncs.com
|
||||
label: 德国(法兰克福)
|
||||
required: true
|
||||
order: 0
|
||||
domainName:
|
||||
title: CDN加速域名
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
domainList:
|
||||
title: 加速域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: true
|
||||
pager: true
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
- serviceType
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -84,9 +83,9 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: 你在火山引擎上配置的CDN加速域名,比如:certd.docmirror.cn
|
||||
helper: 请选择要部署证书的域名
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-deploy-to-cdn.js
|
||||
scriptFilePath: ../../../plugins/plugin-aliyun/plugin/index.js
|
||||
@@ -7,7 +7,7 @@ title: 阿里云-部署至阿里云WAF
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 部署证书到阿里云WAF
|
||||
needPlus: true
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -17,9 +17,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
@@ -37,6 +35,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
regionId:
|
||||
@@ -82,8 +81,9 @@ input:
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: AliyunDeployCertToWaf
|
||||
action: onGetCnameList
|
||||
search: true
|
||||
pager: true
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -102,6 +102,28 @@ input:
|
||||
|
||||
helper: 请选择要部署证书的CNAME站点
|
||||
order: 0
|
||||
tlsVersion:
|
||||
title: TLS版本
|
||||
value: tlsv1.2
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: tlsv1
|
||||
label: TLSv1
|
||||
- value: tlsv1.1
|
||||
label: TLSv1.1
|
||||
- value: tlsv1.2
|
||||
label: TLSv1.2
|
||||
required: true
|
||||
order: 0
|
||||
enableTLSv3:
|
||||
title: 启用TLSv3
|
||||
value: true
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
|
||||
@@ -2,23 +2,20 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: QiniuDeployCertToCDN
|
||||
title: 七牛云-部署证书至CDN
|
||||
icon: svg:icon-qiniuyun
|
||||
group: qiniu
|
||||
desc: 自动部署域名证书至七牛云CDN
|
||||
name: ApisixRefreshCert
|
||||
title: APISIX-更新证书
|
||||
desc: 自动更新APISIX证书
|
||||
icon: svg:icon-lucky
|
||||
group: cdn
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书,或者上传到七牛云的证书id
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- QiniuCertUpload
|
||||
required: true
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
@@ -34,30 +31,29 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 七牛云授权
|
||||
title: Apisix授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: qiniu
|
||||
type: apisix
|
||||
required: true
|
||||
order: 0
|
||||
domainName:
|
||||
title: CDN加速域名
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
rules:
|
||||
- type: domains
|
||||
allowDotStart: true
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -69,9 +65,9 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: 你在七牛云上配置的CDN加速域名,比如:certd.handsfree.work
|
||||
helper: 要更新的证书id,如果这里没有,请先给手动绑定一次证书
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-qiniu/plugin/index.js
|
||||
scriptFilePath: ../../../plugins/plugin-apisix/plugins/plugin-refresh-cert.js
|
||||
@@ -2,12 +2,12 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineDeployToVOD
|
||||
title: 火山引擎-部署证书至VOD
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 部署至火山引擎视频点播(暂不可用)
|
||||
deprecated: 暂时缺少部署ssl接口
|
||||
name: AwsCNDeployToCloudFront
|
||||
title: AWS(国区)-部署证书到CloudFront
|
||||
desc: 部署证书到 AWS CloudFront
|
||||
icon: svg:icon-aws
|
||||
group: aws
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -15,10 +15,8 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- VolcengineUploadToCertCenter
|
||||
- ':cert:'
|
||||
- AwsUploadToACM
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -35,34 +33,47 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
region:
|
||||
title: 区域
|
||||
helper: 证书上传区域
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- label: cn-north-1
|
||||
value: cn-north-1
|
||||
- label: cn-northwest-1
|
||||
value: cn-northwest-1
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
helper: aws的授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
type: aws-cn
|
||||
required: true
|
||||
order: 0
|
||||
spaceName:
|
||||
title: 空间名称
|
||||
required: true
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
domainList:
|
||||
title: 点播域名
|
||||
distributionIds:
|
||||
title: 分配ID
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
action: onGetDistributions
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
- spaceName
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -74,11 +85,9 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: |-
|
||||
选择要部署证书的点播域名
|
||||
需要先在域名管理页面进行证书中心访问授权(即点击去配置SSL证书)
|
||||
helper: 请选择distributions id
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-deploy-to-vod.js
|
||||
scriptFilePath: ../../../plugins/plugin-aws-cn/plugins/plugin-deploy-to-cloudfront.js
|
||||
@@ -7,7 +7,7 @@ title: AWS-部署证书到CloudFront
|
||||
desc: 部署证书到 AWS CloudFront
|
||||
icon: svg:icon-aws
|
||||
group: aws
|
||||
needPlus: true
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -15,9 +15,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- AwsUploadToACM
|
||||
required: true
|
||||
order: 0
|
||||
@@ -35,6 +33,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
region:
|
||||
@@ -44,6 +43,16 @@ input:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- label: '------中国区------'
|
||||
value: cn
|
||||
disabled: true
|
||||
- label: 北京
|
||||
value: cn-north-1
|
||||
- label: 宁夏
|
||||
value: cn-northwest-1
|
||||
- label: '------海外-----'
|
||||
value: out
|
||||
disabled: true
|
||||
- label: us-east-1
|
||||
value: us-east-1
|
||||
- label: us-east-2
|
||||
@@ -122,6 +131,8 @@ input:
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDistributions
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -34,6 +32,16 @@ input:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- label: '------中国区------'
|
||||
value: cn
|
||||
disabled: true
|
||||
- label: 北京
|
||||
value: cn-north-1
|
||||
- label: 宁夏
|
||||
value: cn-northwest-1
|
||||
- label: '------海外-----'
|
||||
value: out
|
||||
disabled: true
|
||||
- label: us-east-1
|
||||
value: us-east-1
|
||||
- label: us-east-2
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
|
||||
@@ -2,11 +2,12 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineDeployToLive
|
||||
title: 火山引擎-部署证书至Live
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 部署至火山引擎视频直播
|
||||
name: CmccDeployCertToCdn
|
||||
title: 中国移动-部署证书到CDN
|
||||
desc: 中国移动自动部署证书到CDN
|
||||
icon: svg:icon-cmcc
|
||||
group: cdn
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -14,10 +15,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
@@ -33,29 +31,29 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
title: 中国移动-授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
type: cmcc
|
||||
required: true
|
||||
order: 0
|
||||
domainList:
|
||||
title: 直播域名
|
||||
title: 加速域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -67,9 +65,9 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: 选择要部署证书的直播域名
|
||||
helper: 要更新的中国移动CDN域名
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-deploy-to-live.js
|
||||
scriptFilePath: ../../../plugins/plugin-cmcc/plugin-deploy-to-cdn.js
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certType:
|
||||
@@ -166,4 +164,4 @@ output:
|
||||
type: HostJksPath
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-host/plugin/copy-to-local/index.js
|
||||
scriptFilePath: ../../../plugins/plugin-host/plugin/index.js
|
||||
|
||||
@@ -6,7 +6,8 @@ name: CustomScript
|
||||
title: 自定义js脚本
|
||||
icon: ri:javascript-line
|
||||
desc: 【仅管理员】运行自定义js脚本执行
|
||||
group: other
|
||||
group: admin
|
||||
onlyAdmin: true
|
||||
input:
|
||||
script:
|
||||
title: 脚本
|
||||
@@ -24,12 +25,10 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: false
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-other/plugins/plugin-script.js
|
||||
scriptFilePath: ../../../plugins/plugin-admin/plugin-script.js
|
||||
|
||||
@@ -5,8 +5,9 @@ default:
|
||||
name: DBBackupPlugin
|
||||
title: 数据库备份
|
||||
icon: lucide:database-backup
|
||||
desc: 仅支持备份SQLite数据库
|
||||
group: other
|
||||
desc: 【仅管理员可用】仅支持备份SQLite数据库
|
||||
group: admin
|
||||
onlyAdmin: true
|
||||
needPlus: true
|
||||
input:
|
||||
backupMode:
|
||||
@@ -124,4 +125,4 @@ input:
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-other/plugins/plugin-db-backup.js
|
||||
scriptFilePath: ../../../plugins/plugin-admin/plugin-db-backup.js
|
||||
|
||||
@@ -65,9 +65,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
@@ -83,6 +81,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -100,6 +99,8 @@ input:
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetSiteList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToAliyunApiGateway
|
||||
title: 阿里云-部署证书至API网关
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 自动部署域名证书至阿里云API网关(APIGateway)
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
regionEndpoint:
|
||||
title: 区域
|
||||
component:
|
||||
name: remote-auto-complete
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetRegionList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择区域
|
||||
order: 0
|
||||
groupId:
|
||||
title: API分组
|
||||
component:
|
||||
name: remote-auto-complete
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetGroupList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- regionEndpoint
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择API分组
|
||||
order: 0
|
||||
customDomains:
|
||||
title: 绑定域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- groupId
|
||||
- regionEndpoint
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 在API分组上配置的绑定域名
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-aliyun/plugin/index.js
|
||||
@@ -0,0 +1,143 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToAliyunApig
|
||||
title: 阿里云-部署至云原生API网关/AI网关
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 自动部署域名证书至云原生API网关、AI网关
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
regionEndpoint:
|
||||
title: 区域
|
||||
component:
|
||||
name: remote-auto-complete
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetRegionList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择区域
|
||||
order: 0
|
||||
gatewayType:
|
||||
title: 网关类型
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: AI
|
||||
label: AI
|
||||
- value: API
|
||||
label: API
|
||||
required: true
|
||||
order: 0
|
||||
domainList:
|
||||
title: 绑定域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- region
|
||||
- accessId
|
||||
- gatewayType
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择域名
|
||||
order: 0
|
||||
forceHttps:
|
||||
title: 强制HTTPS
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- value: true
|
||||
label: 强制HTTPS
|
||||
- value: false
|
||||
label: 不强制HTTPS
|
||||
required: true
|
||||
order: 0
|
||||
casRegion:
|
||||
title: 证书服务接入点
|
||||
helper: 不会选就按默认
|
||||
value: cn-hangzhou
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cn-hangzhou
|
||||
label: 中国大陆
|
||||
- value: ap-southeast-1
|
||||
label: 新加坡
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-aliyun/plugin/index.js
|
||||
@@ -29,10 +29,9 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
template: false
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -49,6 +48,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -68,6 +68,8 @@ input:
|
||||
type: plugin
|
||||
typeName: DeployCertToAliyunCDN
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
@@ -34,6 +32,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -44,15 +43,38 @@ input:
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
domainName:
|
||||
title: DCDN加速域名
|
||||
helper: 你在阿里云上配置的CDN加速域名,比如:certd.docmirror.cn
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
domainName:
|
||||
title: DCDN加速域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 你在阿里云上配置的DCDN加速域名,比如:certd.docmirror.cn
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
|
||||
@@ -6,8 +6,58 @@ name: DeployCertToAliyunOSS
|
||||
title: 阿里云-部署证书至OSS
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 自动部署域名证书至阿里云OSS
|
||||
desc: 部署域名证书至阿里云OSS自定义域名,不是上传到阿里云oss
|
||||
input:
|
||||
casRegion:
|
||||
title: 证书服务接入点
|
||||
helper: 不会选就按默认
|
||||
value: cn-hangzhou
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: cn-hangzhou
|
||||
label: 中国大陆
|
||||
- value: ap-southeast-1
|
||||
label: 新加坡
|
||||
- value: eu-central-1
|
||||
label: 德国(法兰克福)
|
||||
required: true
|
||||
order: -99
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: -98
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
- uploadCertToAliyun
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
region:
|
||||
title: 大区
|
||||
component:
|
||||
@@ -77,36 +127,51 @@ input:
|
||||
bucket:
|
||||
title: Bucket
|
||||
helper: 存储桶名称
|
||||
component:
|
||||
name: remote-auto-complete
|
||||
vModel: value
|
||||
type: plugin
|
||||
action: onGetBucketList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- accessId
|
||||
- region
|
||||
required: true
|
||||
order: 0
|
||||
domainName:
|
||||
title: 绑定的域名
|
||||
helper: 你在阿里云OSS上绑定的域名,比如:certd.docmirror.cn
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
- bucket
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 你在阿里云OSS上绑定的域名,比如:certd.docmirror.cn
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: aliyun
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentAll
|
||||
title: 腾讯云-部署证书到任意云资源
|
||||
needPlus: false
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 支持负载均衡、CDN、DDoS、直播、点播、Web应用防火墙、API网关、TEO、容器服务、对象存储、轻应用服务器、云原生微服务、云开发
|
||||
input:
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
tencentCertId:
|
||||
title: 证书
|
||||
helper: 请选择"证书申请任务"或“上传证书到腾讯云”前置任务的输出
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
resourceType:
|
||||
title: 资源类型
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
allowClear: true
|
||||
options:
|
||||
- value: clb
|
||||
label: 负载均衡
|
||||
- value: cdn
|
||||
label: CDN
|
||||
- value: ddos
|
||||
label: DDoS
|
||||
- value: live
|
||||
label: 直播
|
||||
- value: vod
|
||||
label: 点播
|
||||
- value: waf
|
||||
label: Web应用防火墙
|
||||
- value: apigateway
|
||||
label: API网关
|
||||
- value: teo
|
||||
label: TEO
|
||||
- value: tke
|
||||
label: 容器服务
|
||||
- value: cos
|
||||
label: 对象存储
|
||||
- value: lighthouse
|
||||
label: 轻应用服务器
|
||||
- value: tse
|
||||
label: 云原生微服务
|
||||
- value: tcb
|
||||
label: 云开发
|
||||
helper: ''
|
||||
required: true
|
||||
order: 0
|
||||
region:
|
||||
title: Region
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
allowClear: true
|
||||
helper: >-
|
||||
当云资源类型传入clb、waf、apigateway、cos、lighthouse、tke、tse、tcb
|
||||
时,公共参数Region必传。[参考文档](https://cloud.tencent.com/document/product/400/91667)
|
||||
order: 0
|
||||
instanceIdList:
|
||||
title: 云资源实例Id列表
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
open: false
|
||||
mode: tags
|
||||
helper: '[参考文档](https://cloud.tencent.com/document/product/400/91667)'
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,43 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCDN
|
||||
title: 腾讯云-部署到CDN(废弃)
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 已废弃,请使用v2版
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 证书上传后将以此参数作为名称前缀
|
||||
order: 0
|
||||
domainName:
|
||||
title: cdn加速域名
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,82 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCLB
|
||||
title: 腾讯云-部署到CLB
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 暂时只支持单向认证证书,暂时只支持通用负载均衡
|
||||
input:
|
||||
region:
|
||||
title: 大区
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ap-guangzhou
|
||||
- value: ap-beijing
|
||||
- value: ap-chengdu
|
||||
- value: ap-chongqing
|
||||
- value: ap-hongkong
|
||||
- value: ap-jakarta
|
||||
- value: ap-mumbai
|
||||
- value: ap-nanjing
|
||||
- value: ap-seoul
|
||||
- value: ap-shanghai
|
||||
- value: ap-shanghai-fsi
|
||||
- value: ap-shenzhen-fsi
|
||||
- value: ap-singapore
|
||||
- value: ap-tokyo
|
||||
- value: eu-frankfurt
|
||||
- value: na-ashburn
|
||||
- value: na-siliconvalley
|
||||
- value: na-toronto
|
||||
- value: sa-saopaulo
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称前缀
|
||||
order: 0
|
||||
loadBalancerId:
|
||||
title: 负载均衡ID
|
||||
helper: 如果没有配置,则根据域名匹配负载均衡下的监听器(根据域名匹配时暂时只支持前100个)
|
||||
required: true
|
||||
order: 0
|
||||
listenerId:
|
||||
title: 监听器ID
|
||||
required: true
|
||||
order: 0
|
||||
domain:
|
||||
title: 域名
|
||||
required: false
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
open: false
|
||||
mode: tags
|
||||
helper: 如果开启了sni,则此项必须填写,未开启,则不要填写
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,122 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCosPlugin
|
||||
title: 腾讯云-部署证书到COS
|
||||
needPlus: false
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 部署到腾讯云COS源站域名证书【注意:很不稳定,需要重试很多次偶尔才能成功一次】
|
||||
input:
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
bucket:
|
||||
title: 存储桶名称
|
||||
helper: 请输入存储桶名称
|
||||
order: 0
|
||||
region:
|
||||
title: 所在地域
|
||||
helper: 存储桶所在地域
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ''
|
||||
label: '--------中国大陆地区-------'
|
||||
disabled: true
|
||||
- value: ap-beijing-1
|
||||
label: 北京1区
|
||||
- value: ap-beijing
|
||||
label: 北京
|
||||
- value: ap-nanjing
|
||||
label: 南京
|
||||
- value: ap-shanghai
|
||||
label: 上海
|
||||
- value: ap-guangzhou
|
||||
label: 广州
|
||||
- value: ap-chengdu
|
||||
label: 成都
|
||||
- value: ap-chongqing
|
||||
label: 重庆
|
||||
- value: ap-shenzhen-fsi
|
||||
label: 深圳金融
|
||||
- value: ap-shanghai-fsi
|
||||
label: 上海金融
|
||||
- value: ap-beijing-fsi
|
||||
label: 北京金融
|
||||
- value: ''
|
||||
label: '--------中国香港及境外-------'
|
||||
disabled: true
|
||||
- value: ap-hongkong
|
||||
label: 中国香港
|
||||
- value: ap-singapore
|
||||
label: 新加坡
|
||||
- value: ap-mumbai
|
||||
label: 孟买
|
||||
- value: ap-jakarta
|
||||
label: 雅加达
|
||||
- value: ap-seoul
|
||||
label: 首尔
|
||||
- value: ap-bangkok
|
||||
label: 曼谷
|
||||
- value: ap-tokyo
|
||||
label: 东京
|
||||
- value: na-siliconvalley
|
||||
label: 硅谷
|
||||
- value: na-ashburn
|
||||
label: 弗吉尼亚
|
||||
- value: sa-saopaulo
|
||||
label: 圣保罗
|
||||
- value: eu-frankfurt
|
||||
label: 法兰克福
|
||||
order: 0
|
||||
domains:
|
||||
title: COS域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: DeployCertToTencentCosPlugin
|
||||
action: onGetDomainList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- bucket
|
||||
- region
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择域名
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书,或者选择前置任务“上传证书到腾讯云”任务的证书ID
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,51 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentEO
|
||||
title: 腾讯云-部署到腾讯云EO
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: 腾讯云边缘安全加速平台EO,必须配置上传证书到腾讯云任务
|
||||
group: tencent
|
||||
input:
|
||||
certId:
|
||||
title: 已上传证书ID
|
||||
helper: 请选择前置任务上传到腾讯云的证书
|
||||
component:
|
||||
name: output-selector
|
||||
from: UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
zoneId:
|
||||
title: 站点ID
|
||||
helper: 类似于zone-xxxx的字符串,在站点概览页面左上角,或者,站点列表页面站点名称下方
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 证书上传后将以此参数作为名称前缀
|
||||
order: 0
|
||||
domainNames:
|
||||
title: cdn加速域名
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
open: false
|
||||
helper: 支持多个域名
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,96 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentTKEIngress
|
||||
title: 腾讯云-部署到TKE-ingress
|
||||
needPlus: true
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: serverless集群请使用K8S部署插件;Qcloud类型需要【上传到腾讯云】作为前置任务;ApiServer未开启外网访问则需要做域名的内网IP映射
|
||||
input:
|
||||
region:
|
||||
title: 大区
|
||||
value: ap-guangzhou
|
||||
required: true
|
||||
order: 0
|
||||
clusterId:
|
||||
title: 集群ID
|
||||
required: true
|
||||
desc: 例如:cls-6lbj1vee
|
||||
request: true
|
||||
order: 0
|
||||
namespace:
|
||||
title: 集群namespace
|
||||
value: default
|
||||
required: true
|
||||
order: 0
|
||||
secretName:
|
||||
title: 证书的secret名称
|
||||
required: true
|
||||
order: 0
|
||||
ingressName:
|
||||
title: ingress名称
|
||||
required: true
|
||||
order: 0
|
||||
ingressClass:
|
||||
title: ingress类型
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: qcloud
|
||||
- value: nginx
|
||||
helper: 可选 qcloud / nginx
|
||||
order: 0
|
||||
clusterDomain:
|
||||
title: 集群域名
|
||||
helper: 可不填,默认为:[clusterId].ccs.tencent-cloud.com
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
tencentCertId:
|
||||
title: 腾讯云证书id
|
||||
helper: 请选择“上传证书到腾讯云”前置任务的输出
|
||||
component:
|
||||
name: output-selector
|
||||
from: UploadCertToTencent
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.ingressClass === "qcloud"
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.ingressClass === "nginx"
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -7,22 +7,32 @@ title: 多吉云-部署到多吉云CDN
|
||||
icon: svg:icon-dogecloud
|
||||
group: cdn
|
||||
input:
|
||||
domain:
|
||||
title: 域名
|
||||
helper: CDN域名
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: 多吉云授权
|
||||
helper: 多吉云AccessKey
|
||||
@@ -33,6 +43,32 @@ input:
|
||||
- required: true
|
||||
message: 此项必填
|
||||
order: 0
|
||||
domain:
|
||||
title: CDN域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择CDN域名,可以选择多个,一次性部署
|
||||
order: 0
|
||||
ignoreDeployNullCode:
|
||||
title: 忽略部署接口报错
|
||||
helper: 当该域名部署后报错,但是实际上已经部署成功时,可以勾选
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DokployRefreshCert
|
||||
title: Dokploy-部署server证书
|
||||
desc: 自动更新Dokploy server证书
|
||||
icon: svg:icon-lucky
|
||||
group: panel
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Dokploy授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: dokploy
|
||||
required: true
|
||||
order: 0
|
||||
serverList:
|
||||
title: 证书名称
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetServerList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要更新的证书名称,如果这里没有,请先给手动绑定一次证书
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-dokploy/plugins/plugin-refresh-cert.js
|
||||
@@ -0,0 +1,73 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: FarcdnRefreshCert
|
||||
title: farcdn-更新证书
|
||||
desc: www.farcdn.net
|
||||
icon: svg:icon-lucky
|
||||
group: cdn
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Farcdn授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: farcdn
|
||||
required: true
|
||||
order: 0
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要更新的Farcdn证书id
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-farcdn/plugins/plugin-refresh-cert.js
|
||||
@@ -0,0 +1,72 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: FlexCDNRefreshCert
|
||||
title: FlexCDN-更新证书
|
||||
icon: svg:icon-lucky
|
||||
group: cdn
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: FlexCDN授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: flexcdn
|
||||
required: true
|
||||
order: 0
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要更新的Flex证书id
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-flex/plugins/plugin-refresh-cert.js
|
||||
@@ -0,0 +1,78 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: FnOSDeployToNAS
|
||||
title: 飞牛NAS-部署证书
|
||||
icon: svg:icon-fnos
|
||||
group: panel
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: 飞牛SSH授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: ssh
|
||||
helper: |-
|
||||
请先配置sudo免密:
|
||||
sudo visudo
|
||||
#在文件最后一行增加以下内容,需要将username替换成自己的用户名
|
||||
username ALL=(ALL) NOPASSWD: NOPASSWD: ALL
|
||||
ctrl+x 保存退出
|
||||
required: true
|
||||
order: 0
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 面板证书请选择fnOS,其他FTP、webdav等证书请选择已使用,可多选(如果证书域名都匹配的话)
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-fnos/index.js
|
||||
@@ -14,6 +14,7 @@ input:
|
||||
order: 0
|
||||
ssl_id:
|
||||
title: 证书ID
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -21,9 +22,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
|
||||
@@ -18,9 +18,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 0
|
||||
name: GithubCheckRelease
|
||||
title: Github-检查Release版本
|
||||
desc: 检查最新Release版本并推送消息
|
||||
icon: ion:logo-github
|
||||
group: other
|
||||
needPlus: false
|
||||
input:
|
||||
accessId:
|
||||
title: Github授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: github
|
||||
required: true
|
||||
order: 0
|
||||
repoName:
|
||||
title: 仓库名称
|
||||
helper: owner/name,比如 certd/certd
|
||||
required: true
|
||||
order: 0
|
||||
notificationIds:
|
||||
title: 通知渠道
|
||||
component:
|
||||
name: notification-selector
|
||||
select:
|
||||
mode: tags
|
||||
required: false
|
||||
order: 0
|
||||
sshAccessId:
|
||||
title: 主机登录配置
|
||||
helper: 登录
|
||||
component:
|
||||
name: access-selector
|
||||
type: ssh
|
||||
required: false
|
||||
order: 0
|
||||
script:
|
||||
title: shell脚本命令
|
||||
component:
|
||||
name: a-textarea
|
||||
vModel: value
|
||||
rows: 6
|
||||
placeholder: >-
|
||||
|
||||
# 拉取最新镜像
|
||||
|
||||
docker pull registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest
|
||||
|
||||
# 升级容器命令, 替换成你自己的实际部署位置及更新命令
|
||||
|
||||
export RESTART_CERT='sleep 10; cd ~/deploy/certd/ ; docker compose down;
|
||||
docker compose up -d'
|
||||
|
||||
# 构造一个脚本10s后在后台执行,避免容器销毁时执行太快,导致流水线任务无法结束
|
||||
|
||||
nohup sh -c '$RESTART_CERT' >/dev/null 2>&1 & echo '10秒后重启' && exit
|
||||
helper: >
|
||||
有新版本后执行命令,比如:拉取最新版镜像,然后重建容器
|
||||
|
||||
注意:自己升级自己需要使用nohup配合sleep
|
||||
|
||||
自动升级命令示例:
|
||||
|
||||
docker pull registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest
|
||||
|
||||
export RESTART_CERT='sleep 10; cd ~/deploy/certd/ ; docker compose down;
|
||||
docker compose up -d'
|
||||
|
||||
nohup sh -c '$RESTART_CERT' >/dev/null 2>&1 & echo '10秒后重启' && exit
|
||||
required: false
|
||||
order: 0
|
||||
output:
|
||||
lastVersion:
|
||||
title: 最后版本
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-github/plugins/plugin-check-release.js
|
||||
@@ -0,0 +1,83 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: GoEdgeRefreshCert
|
||||
title: GoEdge-更新证书
|
||||
desc: GoEdge
|
||||
icon: fa-solid:leaf:#6C6BF6
|
||||
group: cdn
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: GoEdge授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: goedge
|
||||
required: true
|
||||
order: 0
|
||||
userId:
|
||||
title: 用户id
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
helper: |-
|
||||
用于查询用户证书,点击用户详情->浏览器地址中userId值,如:/users/user?userId=1
|
||||
如果为空,则查询管理员证书
|
||||
required: false
|
||||
order: 0
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: true
|
||||
pager: true
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要更新的GoEdge证书id
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-goedge/plugins/plugin-refresh-cert.js
|
||||
@@ -17,9 +17,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- HauweiUploadToCCM
|
||||
required: true
|
||||
order: 0
|
||||
@@ -37,8 +35,15 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
enterpriseProjectId:
|
||||
title: 企业项目ID
|
||||
helper: 华为云子账号必填,"all"表示查询所有项目
|
||||
required: false
|
||||
value: all
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 华为云授权AccessKeyId、AccessKeySecret
|
||||
@@ -56,6 +61,8 @@ input:
|
||||
type: plugin
|
||||
typeName: HauweiDeployCertToCDN
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
@@ -75,4 +82,4 @@ input:
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-huawei/plugins/deploy-to-cdn/index.js
|
||||
scriptFilePath: ../../../plugins/plugin-huawei/plugins/index.js
|
||||
|
||||
@@ -2,22 +2,23 @@ showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineDeployToALB
|
||||
title: 火山引擎-部署证书至ALB
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 部署至火山引擎应用负载均衡
|
||||
name: HauweiDeployCertToOBS
|
||||
title: 华为云-部署证书至OBS
|
||||
icon: svg:icon-huawei
|
||||
group: huawei
|
||||
desc: ''
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
helper: >-
|
||||
请选择前置任务输出的域名证书
|
||||
|
||||
如果你选择使用ccm证书ID,则需要在[域名管理页面右上角开启SCM授权](https://console.huaweicloud.com/cdn/#/cdn/domain)
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- VolcengineUploadToCertCenter
|
||||
- ':cert:'
|
||||
- HauweiUploadToCCM
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -34,51 +35,30 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
helper: 华为云授权AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
type: huawei
|
||||
required: true
|
||||
order: 0
|
||||
regionId:
|
||||
title: Region
|
||||
helper: 地区选择
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- label: 北京
|
||||
value: cn-beijing
|
||||
- label: 上海
|
||||
value: cn-shanghai
|
||||
- label: 广州
|
||||
value: cn-guangzhou
|
||||
- label: 香港
|
||||
value: cn-hongkong
|
||||
- label: 柔佛
|
||||
value: ap-southeast-1
|
||||
- label: 雅加达
|
||||
value: ap-southeast-3
|
||||
value: cn-beijing
|
||||
required: true
|
||||
order: 0
|
||||
listenerList:
|
||||
title: 监听器列表
|
||||
bucketList:
|
||||
title: 存储桶
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetListenerList
|
||||
action: onGetBucketList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
- regionId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
@@ -90,11 +70,36 @@ input:
|
||||
},
|
||||
}
|
||||
|
||||
helper: |-
|
||||
选择要部署证书的监听器
|
||||
需要在监听器中选择证书中心,进行跨服务访问授权
|
||||
helper: 请选择存储桶
|
||||
order: 0
|
||||
domainList:
|
||||
title: 自定义域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- bucketList
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择自定义域名
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-deploy-to-alb.js
|
||||
scriptFilePath: ../../../plugins/plugin-huawei/plugins/index.js
|
||||
@@ -6,7 +6,7 @@ name: HauweiUploadToCCM
|
||||
title: 华为云-上传证书至CCM
|
||||
icon: svg:icon-huawei
|
||||
group: huawei
|
||||
desc: 上传证书到华为云CCM
|
||||
desc: 上传证书到华为云云证书管理(CCM)
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
@@ -33,6 +31,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- JDCloudUploadCert
|
||||
required: true
|
||||
order: 0
|
||||
@@ -34,6 +32,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -52,6 +51,8 @@ input:
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetDomainList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- JDCloudUploadCert
|
||||
required: true
|
||||
order: 0
|
||||
@@ -34,6 +32,7 @@ input:
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
@@ -52,6 +51,8 @@ input:
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
|
||||
@@ -14,9 +14,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
- JDCloudUploadCert
|
||||
required: true
|
||||
order: 0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: KsyunRefreshCert
|
||||
title: 金山云-更新CDN证书
|
||||
desc: 金山云自动更新CDN证书
|
||||
icon: svg:icon-ksyun
|
||||
group: cdn
|
||||
needPlus: false
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
template: false
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: 金山云授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: ksyun
|
||||
required: true
|
||||
order: 0
|
||||
certList:
|
||||
title: 证书Id
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetCertList
|
||||
search: false
|
||||
pager: false
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要更新的金山云CDN证书id,如果这里没有,请先给cdn域名手动绑定一次证书
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-ksyun/plugins/plugin-refresh-cert.js
|
||||
@@ -1,57 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: ProxmoxUploadCert
|
||||
title: Proxmox-上传证书到Proxmox
|
||||
icon: svg:icon-proxmox
|
||||
group: panel
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
order: 0
|
||||
accessId:
|
||||
title: Proxmox授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: proxmox
|
||||
required: true
|
||||
order: 0
|
||||
nodes:
|
||||
title: 节点
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: ProxmoxUploadCert
|
||||
action: onGetNodeList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 要部署证书的节点
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-proxmox/plugins/plugin-upload.js
|
||||
@@ -1,39 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: QiniuCertUpload
|
||||
title: 七牛云-上传证书到七牛云
|
||||
icon: svg:icon-qiniuyun
|
||||
group: qiniu
|
||||
desc: 上传到七牛云
|
||||
input:
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 上传后将以此名称作为前缀备注
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 七牛云授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: qiniu
|
||||
required: true
|
||||
order: 0
|
||||
output:
|
||||
qiniuCertId:
|
||||
title: 上传成功后的七牛云CertId
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-qiniu/plugin/upload-cert/index.js
|
||||
@@ -1,34 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: QnapDeploy
|
||||
title: 威联通-部署证书到威联通
|
||||
icon: svg:icon-qnap
|
||||
group: panel
|
||||
desc: 部署证书到qnap
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: ssh登录授权
|
||||
helper: ssh登录授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: ssh
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-qnap/plugins/plugin-qnap.js
|
||||
@@ -6,9 +6,10 @@ name: RestartCertd
|
||||
title: 重启 Certd
|
||||
icon: mdi:restart
|
||||
desc: 【仅管理员可用】 重启 certd的https服务,用于更新 Certd 的 ssl 证书
|
||||
group: other
|
||||
group: admin
|
||||
onlyAdmin: true
|
||||
input: {}
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-other/plugins/plugin-restart.js
|
||||
scriptFilePath: ../../../plugins/plugin-admin/plugin-restart.js
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 0
|
||||
name: TencentActionInstancesPlugin
|
||||
title: 腾讯云-实例开关机
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 腾讯云实例开关机
|
||||
needPlus: false
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
region:
|
||||
title: 所在地域
|
||||
helper: 实例所在地域
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ''
|
||||
label: '--------中国大陆地区-------'
|
||||
disabled: true
|
||||
- value: ap-beijing-1
|
||||
label: 北京1区
|
||||
- value: ap-beijing
|
||||
label: 北京
|
||||
- value: ap-nanjing
|
||||
label: 南京
|
||||
- value: ap-shanghai
|
||||
label: 上海
|
||||
- value: ap-guangzhou
|
||||
label: 广州
|
||||
- value: ap-chengdu
|
||||
label: 成都
|
||||
- value: ap-chongqing
|
||||
label: 重庆
|
||||
- value: ap-shenzhen-fsi
|
||||
label: 深圳金融
|
||||
- value: ap-shanghai-fsi
|
||||
label: 上海金融
|
||||
- value: ap-beijing-fsi
|
||||
label: 北京金融
|
||||
- value: ''
|
||||
label: '--------中国香港及境外-------'
|
||||
disabled: true
|
||||
- value: ap-hongkong
|
||||
label: 中国香港
|
||||
- value: ap-singapore
|
||||
label: 新加坡
|
||||
- value: ap-mumbai
|
||||
label: 孟买
|
||||
- value: ap-jakarta
|
||||
label: 雅加达
|
||||
- value: ap-seoul
|
||||
label: 首尔
|
||||
- value: ap-bangkok
|
||||
label: 曼谷
|
||||
- value: ap-tokyo
|
||||
label: 东京
|
||||
- value: na-siliconvalley
|
||||
label: 硅谷
|
||||
- value: na-ashburn
|
||||
label: 弗吉尼亚
|
||||
- value: sa-saopaulo
|
||||
label: 圣保罗
|
||||
- value: eu-frankfurt
|
||||
label: 法兰克福
|
||||
required: true
|
||||
order: 0
|
||||
instanceId:
|
||||
title: 实列ID
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: TencentStartInstancesPlugin
|
||||
action: onGetInstanceList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- region
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择实列
|
||||
order: 0
|
||||
action:
|
||||
title: 操作
|
||||
component:
|
||||
name: a-radio-group
|
||||
vModel: value
|
||||
options:
|
||||
- value: start
|
||||
label: 开机
|
||||
- value: stop
|
||||
label: 关机
|
||||
required: true
|
||||
order: 0
|
||||
charging:
|
||||
title: 实例关机不收费
|
||||
value: true
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
placeholder: 按量计费实例关机不收费
|
||||
required: false
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.action === 'stop';
|
||||
})
|
||||
}
|
||||
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/start-instances/index.js
|
||||
@@ -1,61 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 0
|
||||
name: TencentDeleteExpiringCert
|
||||
title: 腾讯云-删除即将过期证书
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 仅删除未使用的证书
|
||||
needPlus: true
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
searchKey:
|
||||
title: 关键字筛选
|
||||
helper: 仅匹配ID、备注名称、域名包含关键字的证书,可以不填
|
||||
required: false
|
||||
component:
|
||||
name: a-input
|
||||
order: 0
|
||||
maxCount:
|
||||
title: 最大删除数量
|
||||
helper: 单次运行最大删除数量
|
||||
value: 100
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
expiringDays:
|
||||
title: 即将过期天数
|
||||
helper: >-
|
||||
仅删除有效期小于此天数的证书,
|
||||
|
||||
<span
|
||||
class="color-red">注意:`1.26.14`版本之前Certd创建的证书流水线默认是到期前20天才更新证书,需要将之前创建的证书申请任务的更新天数改为35天,保证删除之前就已经替换掉即将过期证书</span>
|
||||
value: 30
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
checkTimeout:
|
||||
title: 检查超时时间
|
||||
helper: 检查删除任务结果超时时间,单位分钟
|
||||
value: 10
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,59 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: TencentDeployCertToCDNv2
|
||||
title: 腾讯云-部署到CDN-v2
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 推荐使用
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
domains:
|
||||
title: CDN域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: TencentDeployCertToCDNv2
|
||||
action: onGetDomainList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择域名或输入域名
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书,或者选择前置任务“上传证书到腾讯云”任务的证书ID
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/index.js
|
||||
@@ -1,60 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: TencentDeployCertToLive
|
||||
title: 腾讯云-部署到腾讯云直播
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: https://console.cloud.tencent.com/live/
|
||||
group: tencent
|
||||
needPlus: true
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
domains:
|
||||
title: 直播域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: TencentDeployCertToLive
|
||||
action: onGetDomainList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择域名或输入域名
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书,或者选择前置任务“上传证书到腾讯云”任务的证书ID
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/deploy-to-live/index.js
|
||||
195
packages/ui/certd-server/metadata/deploy_UploadCertToOss.yaml
Normal file
195
packages/ui/certd-server/metadata/deploy_UploadCertToOss.yaml
Normal file
@@ -0,0 +1,195 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: UploadCertToOss
|
||||
title: 上传证书到对象存储OSS
|
||||
icon: ion:cloud-upload-outline
|
||||
desc: 支持阿里云OSS、腾讯云COS、七牛云KODO、S3、MinIO、FTP、SFTP
|
||||
group: host
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
uploaderType:
|
||||
title: OSS类型
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
options:
|
||||
- label: 阿里云OSS
|
||||
value: alioss
|
||||
- label: 腾讯云COS
|
||||
value: tencentcos
|
||||
- label: 七牛OSS
|
||||
value: qiniuoss
|
||||
- label: S3/Minio
|
||||
value: s3
|
||||
- label: SFTP
|
||||
value: sftp
|
||||
- label: FTP
|
||||
value: ftp
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: OSS授权
|
||||
component:
|
||||
name: access-selector
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component: {
|
||||
type: ctx.compute(({form})=>{
|
||||
return form.uploaderType;
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
order: 0
|
||||
certType:
|
||||
title: 证书格式
|
||||
helper: 要部署的证书格式,支持pem、pfx、der、jks
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: pem
|
||||
label: pem(crt),Nginx等大部分应用
|
||||
- value: pfx
|
||||
label: pfx,一般用于IIS
|
||||
- value: der
|
||||
label: der,一般用于Apache
|
||||
- value: jks
|
||||
label: jks,一般用于JAVA应用
|
||||
- value: one
|
||||
label: 证书私钥一体,crt+key简单合并为一个pem文件
|
||||
required: true
|
||||
order: 0
|
||||
crtPath:
|
||||
title: 证书保存路径
|
||||
helper: 路径要包含证书文件名,例如:/tmp/cert.pem
|
||||
component:
|
||||
placeholder: /root/deploy/nginx/full_chain.pem
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'pem';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
keyPath:
|
||||
title: 私钥保存路径
|
||||
helper: 路径要包含私钥文件名,例如:/tmp/cert.key
|
||||
component:
|
||||
placeholder: /root/deploy/nginx/cert.key
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'pem';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
icPath:
|
||||
title: 中间证书保存路径
|
||||
helper: 路径要包含文件名,一般情况传上面两个文件即可,极少数情况需要这个中间证书
|
||||
component:
|
||||
placeholder: /root/deploy/nginx/intermediate.pem
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'pem';
|
||||
})
|
||||
}
|
||||
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
pfxPath:
|
||||
title: PFX证书保存路径
|
||||
helper: 路径要包含证书文件名,例如:D:\iis\cert.pfx
|
||||
component:
|
||||
placeholder: D:\iis\cert.pfx
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'pfx';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
derPath:
|
||||
title: DER证书保存路径
|
||||
helper: 路径要包含证书文件名,例如:/tmp/cert.der
|
||||
component:
|
||||
placeholder: /root/deploy/apache/cert.der
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'der';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
jksPath:
|
||||
title: jks证书保存路径
|
||||
helper: 路径要包含证书文件名,例如:/tmp/cert.jks
|
||||
component:
|
||||
placeholder: /root/deploy/java_app/cert.jks
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'jks';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
onePath:
|
||||
title: 一体证书保存路径
|
||||
helper: 路径要包含证书文件名,例如:/tmp/crt_key.pem
|
||||
component:
|
||||
placeholder: /app/crt_key.pem
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'one';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-host/plugin/plugin-upload-to-oss.js
|
||||
@@ -1,38 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: UploadCertToTencent
|
||||
title: 腾讯云-上传证书到腾讯云
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: 上传成功后输出:tencentCertId
|
||||
group: tencent
|
||||
input:
|
||||
name:
|
||||
title: 证书名称
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
output:
|
||||
tencentCertId:
|
||||
title: 上传成功后的腾讯云CertId
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/plugin/upload-to-tencent/index.js
|
||||
@@ -1,110 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineDeployToCLB
|
||||
title: 火山引擎-部署证书至CLB
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 部署至火山引擎负载均衡
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- VolcengineUploadToCertCenter
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
required: true
|
||||
order: 0
|
||||
regionId:
|
||||
title: Region
|
||||
helper: 地区选择
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- label: 北京
|
||||
value: cn-beijing
|
||||
- label: 上海
|
||||
value: cn-shanghai
|
||||
- label: 广州
|
||||
value: cn-guangzhou
|
||||
- label: 深圳
|
||||
value: cn-shenzhen
|
||||
- label: 杭州
|
||||
value: cn-hangzhou
|
||||
- label: 南京
|
||||
value: cn-north-1
|
||||
- label: 青岛
|
||||
value: cn-qingdao
|
||||
- label: 重庆
|
||||
value: cn-chengdu
|
||||
- label: 香港
|
||||
value: cn-hongkong
|
||||
- label: 柔佛
|
||||
value: ap-southeast-1
|
||||
- label: 雅加达
|
||||
value: ap-southeast-3
|
||||
value: cn-beijing
|
||||
required: true
|
||||
order: 0
|
||||
listenerList:
|
||||
title: 监听器列表
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
action: onGetListenerList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- certDomains
|
||||
- accessId
|
||||
- regionId
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: |-
|
||||
选择要部署证书的监听器
|
||||
需要在监听器中选择证书中心,进行跨服务访问授权
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-deploy-to-clb.js
|
||||
@@ -1,51 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: VolcengineUploadToCertCenter
|
||||
title: 火山引擎-上传证书至证书中心
|
||||
icon: svg:icon-volcengine
|
||||
group: volcengine
|
||||
desc: 上传证书至火山引擎证书中心
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
certDomains:
|
||||
title: 当前证书域名
|
||||
component:
|
||||
name: cert-domains-getter
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
inputKey: ctx.compute(({form})=>{
|
||||
return form.cert
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 火山引擎AccessKeyId、AccessKeySecret
|
||||
component:
|
||||
name: access-selector
|
||||
type: volcengine
|
||||
required: true
|
||||
order: 0
|
||||
output:
|
||||
volcengineCertId:
|
||||
title: 上传成功后的火山引擎证书Id
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/plugins/plugin-upload-to-cert-center.js
|
||||
@@ -1,23 +0,0 @@
|
||||
showRunStrategy: true
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: WaitPlugin
|
||||
title: 等待
|
||||
icon: ri:rest-time-line
|
||||
desc: 等待一段时间
|
||||
group: other
|
||||
input:
|
||||
waitTime:
|
||||
title: 等待时长
|
||||
value: 30
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
helper: 单位:秒
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-other/plugins/plugin-wait.js
|
||||
@@ -1,47 +0,0 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: WoaiCDN
|
||||
title: 我爱云-部署证书到我爱云CDN
|
||||
desc: 部署证书到我爱云CDN
|
||||
icon: clarity:plugin-line
|
||||
group: cdn
|
||||
input:
|
||||
baseApi:
|
||||
title: 接口地址(可留空)
|
||||
helper: 请填写我爱云的地址, 默认为 [API](https://console.edeg.sxhjgy.cn) 末尾请不要携带`/`
|
||||
component:
|
||||
name: a-input
|
||||
required: false
|
||||
order: 0
|
||||
certId:
|
||||
title: 证书ID
|
||||
helper: 请填写 [证书列表](https://console.edge.sxhjgy.cn/site/certificate) 中的证书的ID
|
||||
component:
|
||||
name: a-input
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: 我爱云的用户、密码授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: woai
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-woai/plugins/plugin-deploy-to-cdn.js
|
||||
@@ -1,4 +1,4 @@
|
||||
showRunStrategy: false
|
||||
showRunStrategy: true
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
|
||||
@@ -3,10 +3,10 @@ default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: uploadCertToAliyun
|
||||
title: 阿里云-上传证书到阿里云
|
||||
title: 阿里云-上传证书到CAS
|
||||
icon: svg:icon-aliyun
|
||||
group: aliyun
|
||||
desc: 如果不想在阿里云上同一份证书上传多次,可以把此任务作为前置任务,其他阿里云任务证书那一项选择此任务的输出
|
||||
desc: 上传证书到阿里云证书管理服务(CAS),如果不想在阿里云上同一份证书上传多次,可以把此任务作为前置任务,其他阿里云任务证书那一项选择此任务的输出
|
||||
input:
|
||||
name:
|
||||
title: 证书名称
|
||||
@@ -22,12 +22,16 @@ input:
|
||||
- value: cn-hangzhou
|
||||
endpoint: cas.aliyuncs.com
|
||||
label: cn-hangzhou-中国大陆
|
||||
- value: ap-southeast-1
|
||||
endpoint: cas.ap-southeast-1.aliyuncs.com
|
||||
label: ap-southeast-1-新加坡(国际版选这个)
|
||||
- value: private-
|
||||
endpoint: ''
|
||||
disabled: true
|
||||
label: 以下是私有证书区域
|
||||
- value: eu-central-1
|
||||
endpoint: cas.eu-central-1.aliyuncs.com
|
||||
label: eu-central-1-德国(法兰克福)
|
||||
- value: ap-southeast-1
|
||||
endpoint: cas.ap-southeast-1.aliyuncs.com
|
||||
label: ap-southeast-1-新加坡
|
||||
- value: ap-southeast-3
|
||||
endpoint: cas.ap-southeast-3.aliyuncs.com
|
||||
label: ap-southeast-3-马来西亚(吉隆坡)
|
||||
@@ -45,9 +49,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
|
||||
@@ -15,9 +15,7 @@ input:
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
certType:
|
||||
@@ -36,6 +34,8 @@ input:
|
||||
label: jks,一般用于JAVA应用
|
||||
- value: one
|
||||
label: 证书私钥一体,crt+key简单合并为一个pem文件
|
||||
- value: p7b
|
||||
label: p7b格式
|
||||
required: true
|
||||
order: 0
|
||||
crtPath:
|
||||
@@ -57,14 +57,14 @@ input:
|
||||
order: 0
|
||||
keyPath:
|
||||
title: 私钥保存路径
|
||||
helper: 需要有写入权限,路径要包含私钥文件名,例如:/tmp/cert.key
|
||||
helper: 原本的私钥保存路径,需要有写入权限,路径要包含私钥文件名,例如:/tmp/cert.key
|
||||
component:
|
||||
placeholder: /root/deploy/nginx/cert.key
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'pem';
|
||||
return form.certType === 'pem' || form.certType === 'p7b' ;
|
||||
})
|
||||
}
|
||||
|
||||
@@ -152,6 +152,23 @@ input:
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
order: 0
|
||||
p7bPath:
|
||||
title: p7b证书保存路径
|
||||
helper: 填写应用原本的证书保存路径,路径要包含证书文件名,例如:/tmp/domain_cert.p7b
|
||||
component:
|
||||
placeholder: /root/deploy/app/domain_cert.p7b
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.certType === 'p7b';
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
rules:
|
||||
- type: filepath
|
||||
@@ -166,7 +183,9 @@ input:
|
||||
order: 0
|
||||
uploadType:
|
||||
title: 上传方式
|
||||
helper: 选择上传方式,sftp或者scp
|
||||
helper: |-
|
||||
支持sftp或者scp
|
||||
需要有写入权限,如果没有,须先将证书上传到有权限的目录,再通过后置命令复制到目标路径
|
||||
value: sftp
|
||||
component:
|
||||
name: a-select
|
||||
@@ -185,14 +204,26 @@ input:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
order: 0
|
||||
script:
|
||||
title: shell脚本命令
|
||||
scriptPre:
|
||||
title: 前置命令
|
||||
component:
|
||||
name: a-textarea
|
||||
vModel: value
|
||||
rows: 6
|
||||
rows: 3
|
||||
placeholder: mkdir /app/ssl
|
||||
helper: 上传前执行脚本命令,做上传前的准备工作
|
||||
required: false
|
||||
order: 0
|
||||
script:
|
||||
title: 后置命令
|
||||
component:
|
||||
name: a-textarea
|
||||
vModel: value
|
||||
rows: 5
|
||||
placeholder: 'systemctl restart nginx '
|
||||
helper: |-
|
||||
上传后执行脚本命令,不填则不执行
|
||||
上传后执行脚本命令,让证书生效(比如重启nginx),不填则不执行
|
||||
注意:sudo需要配置免密,不要使用-i这种交互式命令
|
||||
注意:如果目标主机是windows,且终端是cmd,系统会自动将多行命令通过“&&”连接成一行
|
||||
required: false
|
||||
order: 0
|
||||
@@ -220,6 +251,8 @@ output:
|
||||
title: jks保存路径
|
||||
hostOnePath:
|
||||
title: 一体证书保存路径
|
||||
hostP7bPath:
|
||||
title: p7b证书保存路径
|
||||
type: builtIn
|
||||
pluginType: deploy
|
||||
scriptFilePath: ../../../plugins/plugin-host/plugin/upload-to-host/index.js
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
name: aliesa
|
||||
title: 阿里ESA
|
||||
desc: 阿里ESA DNS解析
|
||||
accessType: aliesa
|
||||
icon: svg:icon-aliyun
|
||||
order: 0
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-aliyun/dns-provider/aliesa-dns-provider.js
|
||||
@@ -0,0 +1,9 @@
|
||||
name: aws-route53
|
||||
title: AWS Route53
|
||||
desc: AWS Route53 DNS解析提供商
|
||||
accessType: aws
|
||||
icon: svg:icon-aws
|
||||
order: 0
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-aws/index.js
|
||||
@@ -3,6 +3,7 @@ title: Dns提供商Demo
|
||||
desc: dns provider示例
|
||||
icon: clarity:plugin-line
|
||||
accessType: demo
|
||||
order: 99
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-demo/index.js
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
name: dnspod
|
||||
title: dnspod(已过时,请尽快换成腾讯云)
|
||||
desc: 已废弃,请尽快换成腾讯云类型
|
||||
accessType: dnspod
|
||||
deprecated: dnspod已废弃,请换成腾讯云
|
||||
icon: svg:icon-tencentcloud
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/dns-provider/dnspod-dns-provider.js
|
||||
@@ -0,0 +1,9 @@
|
||||
name: godaddy
|
||||
title: godaddy
|
||||
desc: GoDaddy
|
||||
icon: simple-icons:godaddy
|
||||
accessType: godaddy
|
||||
order: 10
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-godaddy/index.js
|
||||
@@ -3,6 +3,7 @@ title: 京东云
|
||||
desc: 京东云DNS解析提供商
|
||||
accessType: jdcloud
|
||||
icon: svg:icon-jdcloud
|
||||
order: 3
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-jdcloud/index.js
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
name: tencent
|
||||
title: 腾讯云
|
||||
desc: 腾讯云域名DNS解析提供者
|
||||
accessType: tencent
|
||||
icon: svg:icon-tencentcloud
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-tencent/dns-provider/tencent-dns-provider.js
|
||||
@@ -1,8 +0,0 @@
|
||||
name: volcengine
|
||||
title: 火山引擎
|
||||
desc: 火山引擎DNS解析提供商
|
||||
accessType: volcengine
|
||||
icon: svg:icon-volcengine
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-volcengine/volcengine-dns-provider.js
|
||||
@@ -1,8 +0,0 @@
|
||||
name: west
|
||||
title: 西部数码
|
||||
desc: west dns provider
|
||||
icon: svg:icon-xibushuma
|
||||
accessType: west
|
||||
type: builtIn
|
||||
pluginType: dnsProvider
|
||||
scriptFilePath: ../../../plugins/plugin-west/index.js
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user