Skip to content

Commit

Permalink
Add additionalPrinterColumns for backups.velero.io crd
Browse files Browse the repository at this point in the history
Show main status properties when doing a "kubectl get backups.velero.io" or using any kube manager UI.

Signed-off-by: df-cgdm <didier.fournout@cegedim.com>
  • Loading branch information
df-cgdm committed Sep 16, 2024
1 parent 3f9c2dc commit ce260a1
Showing 1 changed file with 26 additions and 1 deletion.
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

0 comments on commit ce260a1

Please sign in to comment.