diff --git a/config/crd/v1/bases/velero.io_backupstoragelocations.yaml b/config/crd/v1/bases/velero.io_backupstoragelocations.yaml index ac0a7ef23..db38fec22 100644 --- a/config/crd/v1/bases/velero.io_backupstoragelocations.yaml +++ b/config/crd/v1/bases/velero.io_backupstoragelocations.yaml @@ -17,6 +17,10 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: + - description: Provider is the provider of the backup storage + jsonPath: .spec.provider + name: Provider + type: string - description: Backup Storage Location status such as Available/Unavailable jsonPath: .status.phase name: Phase @@ -26,6 +30,10 @@ spec: jsonPath: .status.lastValidationTime name: Last Validated type: date + - description: AccessMode defines the permissions for the backup storage location + jsonPath: .spec.accessMode + name: Access Mode + type: string - jsonPath: .metadata.creationTimestamp name: Age type: date diff --git a/pkg/apis/velero/v1/backupstoragelocation_types.go b/pkg/apis/velero/v1/backupstoragelocation_types.go index 4472cf271..5b64e58da 100644 --- a/pkg/apis/velero/v1/backupstoragelocation_types.go +++ b/pkg/apis/velero/v1/backupstoragelocation_types.go @@ -104,8 +104,10 @@ type BackupStorageLocationStatus struct { // +kubebuilder:resource:shortName=bsl // +kubebuilder:object:generate=true // +kubebuilder:storageversion +// +kubebuilder:printcolumn:name="Provider",type="string",JSONPath=".spec.provider",description="Provider is the provider of the backup storage" // +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="Backup Storage Location status such as Available/Unavailable" // +kubebuilder:printcolumn:name="Last Validated",type="date",JSONPath=".status.lastValidationTime",description="LastValidationTime is the last time the backup store location was validated" +// +kubebuilder:printcolumn:name="Access Mode",type="string",JSONPath=".spec.accessMode",description="AccessMode defines the permissions for the backup storage location" // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:printcolumn:name="Default",type="boolean",JSONPath=".spec.default",description="Default backup storage location"