mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
feat: 【破坏性更新】插件改为metadata加载模式,plugin-cert、plugin-lib包部分代码转移到certd-server中,影响自定义插件,需要修改相关import引用
ssh、aliyun、tencent、qiniu、oss等 access和client需要转移import
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: K8sApply
|
||||
title: K8S-Apply自定义yaml
|
||||
icon: mdi:kubernetes
|
||||
desc: apply自定义yaml到k8s
|
||||
needPlus: true
|
||||
group: panel
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
preOutput:
|
||||
title: 前置任务输出
|
||||
helper: 请选择前置任务输出的内容
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- '::'
|
||||
required: false
|
||||
order: 0
|
||||
accessId:
|
||||
title: k8s授权
|
||||
helper: kubeconfig
|
||||
component:
|
||||
name: access-selector
|
||||
type: k8s
|
||||
required: true
|
||||
order: 0
|
||||
yamlContent:
|
||||
title: yaml
|
||||
required: true
|
||||
helper: >-
|
||||
apply
|
||||
yaml,模板变量:主域名=${mainDomain}、全部域名=${domains}、过期时间=${expiresTime}、证书PEM=${crt}、证书私钥=${key}、中间证书/CA证书=${ic}、前置任务输出=${preOutput}
|
||||
component:
|
||||
name: a-textarea
|
||||
vModel: value
|
||||
rows: 6
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
type: builtIn
|
||||
scriptFilePath: ../../../plugins/plugin-plus/k8s/plugins/plugin-apply.js
|
||||
Reference in New Issue
Block a user