Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelogs/unreleased/8221-df-cgdm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add additionalPrinterColumns for backups.velero.io crd to make kubectl (or other tools) default output more readable
27 changes: 26 additions & 1 deletion config/crd/v1/bases/velero.io_backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,32 @@ spec:
singular: backup
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- description: Status of the backup
jsonPath: .status.phase
name: Status
type: string
- description: Backup Start Timestamp
jsonPath: .status.startTimestamp
name: Start Timestamp
type: date
- description: Backup Completion Timestamp
jsonPath: .status.completionTimestamp
name: Completion Timestamp
type: date
- description: Backup Expiration Timestamp
jsonPath: .status.expiration
name: Expiration
type: date
- description: Total Items
jsonPath: .status.progress.totalItems
name: Total Items
type: integer
- description: Items Backed Up
jsonPath: .status.progress.itemsBackedUp
name: Items Backed Up
type: integer
name: v1
schema:
openAPIV3Schema:
description: |-
Expand Down