pull/78/head
xiaojunnuo 2024-06-25 10:52:58 +08:00
parent d8d127ee9d
commit cbfb0755b3
2 changed files with 10 additions and 3 deletions

View File

@ -90,7 +90,7 @@ export class CertApplyPlugin extends AbstractTaskPlugin {
vModel: "value", vModel: "value",
}, },
required: true, required: true,
helper: "到期前多少天后更新证书", helper: "到期前多少天后更新证书,注意:流水线默认不会自动运行,请设置定时器,每天定时运行本流水线",
}) })
renewDays!: number; renewDays!: number;
@ -106,9 +106,16 @@ export class CertApplyPlugin extends AbstractTaskPlugin {
@TaskInput({ @TaskInput({
title: "CsrInfo", title: "CsrInfo",
helper: "暂时没有用",
}) })
csrInfo!: string; csrInfo!: string;
@TaskInput({
title: "配置说明",
helper: "运行策略请选择总是运行,其他证书部署任务请选择成功后跳过;当证书快到期前将会自动重新申请证书,然后会清空后续任务的成功状态,部署任务将会重新运行",
})
intro!: string;
acme!: AcmeService; acme!: AcmeService;
logger!: Logger; logger!: Logger;
userContext!: IContext; userContext!: IContext;

View File

@ -59,9 +59,9 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
accessId!: string; accessId!: string;
@TaskInput({ @TaskInput({
title: '复制到当前主机', title: '复制到当前主机',
helper: helper:
'开启后,将直接复制到当前主机某个目录,由于是docker启动实际上复制到的是docker容器内的目录你需要事先在docker-compose.yaml中配置主机目录映射 volumes: /your_target_path:/your_target_path', '开启后,将直接复制到当前主机某个目录,不上传到主机由于是docker启动实际上是复制到docker容器内的“证书保存路径”你需要事先在docker-compose.yaml中配置主机目录映射 volumes: /your_target_path:/your_target_path',
component: { component: {
name: 'a-switch', name: 'a-switch',
value: false, value: false,