feat(recurring-job): update YAML for new tasks

Ref: 4898

Signed-off-by: James Lu <james.lu@suse.com>
(cherry picked from commit 6c6cb23be1)
This commit is contained in:
James Lu 2023-03-20 15:18:54 +08:00 committed by David Ko
parent e1f6e72c15
commit 1a573f8492

View File

@ -2257,7 +2257,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
@ -2319,12 +2319,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:
@ -3062,9 +3064,11 @@ spec:
task:
enum:
- snapshot
- snapshot-force-create
- snapshot-cleanup
- snapshot-delete
- backup
- backup-force-create
type: string
type: object
type: array