Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additionalPrinterColumns for backups.velero.io crd #8221

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
Loading