Skip to content

Commit

Permalink
feat(recurring-job): update YAML for new tasks
Browse files Browse the repository at this point in the history
Ref: 4898

Signed-off-by: James Lu <james.lu@suse.com>
  • Loading branch information
mantissahz authored and David Ko committed Mar 20, 2023
1 parent 9abb267 commit 6c6cb23
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2272,7 +2272,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
Expand Down Expand Up @@ -2334,12 +2334,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:
Expand Down Expand Up @@ -3470,9 +3472,11 @@ spec:
task:
enum:
- snapshot
- snapshot-force-create
- snapshot-cleanup
- snapshot-delete
- backup
- backup-force-create
type: string
type: object
type: array
Expand Down

0 comments on commit 6c6cb23

Please sign in to comment.