From 61162f202871e3a6b64c93439d9af62680f9cfd7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 20 Mar 2023 15:18:54 +0800 Subject: [PATCH] feat(recurring-job): update YAML for new tasks Ref: 4898 Signed-off-by: James Lu (cherry picked from commit 6c6cb23be1219fa8fe79ec286c99915c695d985d) --- deploy/longhorn.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index a690b5b..6046708 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -2269,7 +2269,7 @@ spec: jsonPath: .spec.groups name: Groups type: string - - description: Should be one of "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup" + - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup" or "backup-force-create". jsonPath: .spec.task name: Task type: string @@ -2331,12 +2331,14 @@ spec: description: The retain count of the snapshot/backup. type: integer task: - description: The recurring job task. Can be "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup". + description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup" or "backup-force-create". enum: - snapshot + - snapshot-force-create - snapshot-cleanup - snapshot-delete - backup + - backup-force-create type: string type: object status: @@ -3461,9 +3463,11 @@ spec: task: enum: - snapshot + - snapshot-force-create - snapshot-cleanup - snapshot-delete - backup + - backup-force-create type: string type: object type: array