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 e868297b9e
commit 61162f2028

View File

@ -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