From c679fcad7d0422f0f5648ad3b3f5d6550d8fae39 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 3 Jan 2023 08:59:05 +0800 Subject: [PATCH] feat(recurring-job): update YAML for new tasks Ref: 3836 Signed-off-by: Chin-Ya Huang (cherry picked from commit 2ea5513286f91ae56fab15bff69f8f11c3506814) --- deploy/longhorn.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 99bedb5..467c8e2 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 "backup" or "snapshot" + - description: Should be one of "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup" jsonPath: .spec.task name: Task type: string @@ -2331,9 +2331,11 @@ spec: description: The retain count of the snapshot/backup. type: integer task: - description: The recurring job type. Can be "snapshot" or "backup". + description: The recurring job task. Can be "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup". enum: - snapshot + - snapshot-cleanup + - snapshot-delete - backup type: string type: object @@ -3459,6 +3461,8 @@ spec: task: enum: - snapshot + - snapshot-cleanup + - snapshot-delete - backup type: string type: object