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

Ref: 3836

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2023-01-03 08:59:05 +08:00 committed by David Ko
parent 761abc7611
commit 2ea5513286

View File

@ -2272,7 +2272,7 @@ spec:
jsonPath: .spec.groups jsonPath: .spec.groups
name: Groups name: Groups
type: string 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 jsonPath: .spec.task
name: Task name: Task
type: string type: string
@ -2334,9 +2334,11 @@ spec:
description: The retain count of the snapshot/backup. description: The retain count of the snapshot/backup.
type: integer type: integer
task: 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: enum:
- snapshot - snapshot
- snapshot-cleanup
- snapshot-delete
- backup - backup
type: string type: string
type: object type: object
@ -3468,6 +3470,8 @@ spec:
task: task:
enum: enum:
- snapshot - snapshot
- snapshot-cleanup
- snapshot-delete
- backup - backup
type: string type: string
type: object type: object