Skip to content

Commit

Permalink
Revert "Add additional printer columns for CRDs (#2881)"
Browse files Browse the repository at this point in the history
This reverts commit 4178d9d.
  • Loading branch information
Carlisia committed Mar 31, 2021
1 parent 52d4a46 commit fce1ab8
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 333 deletions.
1 change: 0 additions & 1 deletion changelogs/unreleased/2881-zubron

This file was deleted.

27 changes: 0 additions & 27 deletions config/crd/bases/velero.io_backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,6 @@ metadata:
creationTimestamp: null
name: backups.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Backup status such as InProgress/Completed
name: Status
type: string
- JSONPath: .status.errors
description: Count of all error messages that were generated during execution
of this backup
name: Errors
type: integer
- JSONPath: .status.warnings
description: Count of all warning messages that were generated during execution
of this backup
name: Warnings
type: integer
- JSONPath: .status.startTimestamp
description: Time when this backup was started
name: Created
type: date
- JSONPath: .spec.storageLocation
description: Name of the Backup Storage Location where this backup should be stored
name: Storage Location
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: Backup
Expand All @@ -42,7 +16,6 @@ spec:
singular: backup
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: Backup is a Velero resource that represents the capture of Kubernetes
Expand Down
12 changes: 0 additions & 12 deletions config/crd/bases/velero.io_backupstoragelocations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ metadata:
name: backupstoragelocations.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.provider
description: Provider of the backup storage
name: Provider
type: string
- JSONPath: .spec.objectStorage.bucket
description: Bucket to use for object storage
name: Bucket
type: string
- JSONPath: .status.phase
description: Backup Storage Location status such as Available/Unavailable
name: Phase
Expand All @@ -26,10 +18,6 @@ spec:
validated
name: Last Validated
type: date
- JSONPath: .spec.accessMode
description: Permissions for the backup storage location
name: Access Mode
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
13 changes: 0 additions & 13 deletions config/crd/bases/velero.io_deletebackuprequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ metadata:
creationTimestamp: null
name: deletebackuprequests.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Delete Backup Request status such as InProgress/Processed
name: Status
type: string
- JSONPath: .spec.backupName
description: Name of backup to be deleted
name: Backup Name
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: DeleteBackupRequest
Expand All @@ -28,7 +16,6 @@ spec:
singular: deletebackuprequest
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: DeleteBackupRequest is a request to delete one or more backups.
Expand Down
22 changes: 4 additions & 18 deletions config/crd/bases/velero.io_downloadrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ metadata:
creationTimestamp: null
name: downloadrequests.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: DownloadRequest status such as New/Processed
name: Status
type: string
- JSONPath: .spec.target.name
description: Name of the associated Kubernetes resource
name: Target Name
type: string
- JSONPath: .spec.target.kind
description: Type of file to download
name: Target Kind
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: DownloadRequest
Expand All @@ -36,8 +20,10 @@ spec:
status: {}
validation:
openAPIV3Schema:
description: DownloadRequest is a request to download an artifact from backup
object storage, such as a backup log file.
description: TODO(2.0) After converting all resources to use the runtime-controller
client, the k8s:deepcopy marker will no longer be needed and should be removed.
DownloadRequest is a request to download an artifact from backup object storage,
such as a backup log file.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down
33 changes: 0 additions & 33 deletions config/crd/bases/velero.io_podvolumebackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,6 @@ metadata:
creationTimestamp: null
name: podvolumebackups.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Pod Volume Backup status such as New/InProgress
name: Status
type: string
- JSONPath: .status.startTimestamp
description: Time when this backup was started
name: Created
type: date
- JSONPath: .spec.pod.namespace
description: Namespace of the pod containing the volume to be backed up
name: Namespace
type: string
- JSONPath: .spec.pod.name
description: Name of the pod containing the volume to be backed up
name: Pod
type: string
- JSONPath: .spec.volume
description: Name of the volume to be backed up
name: Volume
type: string
- JSONPath: .spec.repoIdentifier
description: Restic repository identifier for this backup
name: Restic Repo
type: string
- JSONPath: .spec.backupStorageLocation
description: Name of the Backup Storage Location where this backup should be stored
name: Storage Location
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: PodVolumeBackup
Expand All @@ -48,7 +16,6 @@ spec:
singular: podvolumebackup
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
properties:
Expand Down
37 changes: 0 additions & 37 deletions config/crd/bases/velero.io_podvolumerestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,6 @@ metadata:
creationTimestamp: null
name: podvolumerestores.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Restore status such as InProgress/Completed
name: Status
type: string
- JSONPath: .spec.pod.namespace
description: Namespace of pod containing the volume to be restored
name: Namespace
type: string
- JSONPath: .spec.pod.name
description: Name of pod containing the volume to be restored
name: Pod
type: string
- JSONPath: .spec.volume
description: Name of volume to restore
name: Volume
type: string
- JSONPath: .status.progress.bytesDone
description: Number of bytes restored
name: Bytes Done
type: string
- JSONPath: .status.progress.totalBytes
description: Total number of bytes to be restored
name: Total Bytes
type: string
- JSONPath: .status.startTimestamp
description: Time when the restore operation was started
name: Started
type: date
- JSONPath: .status.completionTimestamp
description: Time when the restore operation was completed
name: Completed
type: date
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: PodVolumeRestore
Expand All @@ -52,7 +16,6 @@ spec:
singular: podvolumerestore
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
properties:
Expand Down
10 changes: 0 additions & 10 deletions config/crd/bases/velero.io_resticrepositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ metadata:
creationTimestamp: null
name: resticrepositories.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Restic Repository status such as New/Ready
name: Status
type: string
- JSONPath: .status.lastMaintenanceTime
description: Last time maintenance was run
name: Last Maintenance
type: date
group: velero.io
names:
kind: ResticRepository
Expand All @@ -25,7 +16,6 @@ spec:
singular: resticrepository
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
properties:
Expand Down
29 changes: 0 additions & 29 deletions config/crd/bases/velero.io_restores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,6 @@ metadata:
creationTimestamp: null
name: restores.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.backupName
description: Name of backup to restore from
name: Backup
type: string
- JSONPath: .status.phase
description: Restore status such as InProgress/Completed
name: Status
type: string
- JSONPath: .status.startTimestamp
description: Time when the restore operation was started
name: Started
type: date
- JSONPath: .status.completionTimestamp
description: Time when the restore operation was completed
name: Completed
type: date
- JSONPath: .status.errors
description: Count of all errors generated during the restore
name: Errors
type: integer
- JSONPath: .status.warnings
description: Count of all warnings generated during the restore
name: Warnings
type: integer
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: Restore
Expand All @@ -42,7 +14,6 @@ spec:
singular: restore
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: Restore is a Velero resource that represents the application of
Expand Down
21 changes: 0 additions & 21 deletions config/crd/bases/velero.io_schedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,6 @@ metadata:
creationTimestamp: null
name: schedules.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Schedule status such as New/Enabled
name: Status
type: string
- JSONPath: .spec.schedule
description: Cron expression defining when to run the backup
name: Schedule
type: string
- JSONPath: .spec.template.ttl
description: How long the backups should be retained for
name: Backup TTL
type: string
- JSONPath: .status.lastBackup
description: Last time a backup was run for this schedule
name: Last Backup
type: date
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: Schedule
Expand All @@ -36,7 +16,6 @@ spec:
singular: schedule
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: Schedule is a Velero resource that represents a pre-scheduled or
Expand Down
5 changes: 0 additions & 5 deletions config/crd/bases/velero.io_serverstatusrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ metadata:
creationTimestamp: null
name: serverstatusrequests.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Server Status Request status such as New/Processed
name: Status
type: string
group: velero.io
names:
kind: ServerStatusRequest
Expand Down
8 changes: 0 additions & 8 deletions config/crd/bases/velero.io_volumesnapshotlocations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ metadata:
creationTimestamp: null
name: volumesnapshotlocations.velero.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.provider
name: Provider
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: velero.io
names:
kind: VolumeSnapshotLocation
Expand All @@ -23,7 +16,6 @@ spec:
singular: volumesnapshotlocation
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: VolumeSnapshotLocation is a location where Velero stores volume
Expand Down
Loading

0 comments on commit fce1ab8

Please sign in to comment.