Address review feedback: update short names for Backup, BackupRepository, and DownloadRequest

- Backup: bkp -> bak (more common abbreviation)
- BackupRepository: br -> repo (avoids conflict with "backup & restore")
- DownloadRequest: dr -> dreq (avoids conflict with "disaster recovery")

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
Shubham Pampattiwar
2026-07-17 11:44:40 -07:00
parent c24f403a2d
commit 251272ae09
7 changed files with 10 additions and 10 deletions
@@ -12,7 +12,7 @@ spec:
listKind: BackupRepositoryList
plural: backuprepositories
shortNames:
- br
- repo
singular: backuprepository
scope: Namespaced
versions:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
listKind: BackupList
plural: backups
shortNames:
- bkp
- bak
singular: backup
scope: Namespaced
versions:
@@ -12,7 +12,7 @@ spec:
listKind: DownloadRequestList
plural: downloadrequests
shortNames:
- dr
- dreq
singular: downloadrequest
scope: Namespaced
versions:
File diff suppressed because one or more lines are too long
@@ -118,7 +118,7 @@ type BackupRepositoryMaintenanceStatus struct {
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:printcolumn:name="Repository Type",type="string",JSONPath=".spec.repositoryType"
// +kubebuilder:resource:shortName=br
// +kubebuilder:resource:shortName=repo
type BackupRepository struct {
metav1.TypeMeta `json:",inline"`
+1 -1
View File
@@ -516,7 +516,7 @@ type HookStatus struct {
// +kubebuilder:storageversion
// +kubebuilder:rbac:groups=velero.io,resources=backups,verbs=create;delete;get;list;patch;update;watch
// +kubebuilder:rbac:groups=velero.io,resources=backups/status,verbs=get;update;patch
// +kubebuilder:resource:shortName=bkp
// +kubebuilder:resource:shortName=bak
// Backup is a Velero resource that represents the capture of Kubernetes
// cluster state at a point in time (API objects and associated volume state).
+1 -1
View File
@@ -92,7 +92,7 @@ type DownloadRequestStatus struct {
// +kubebuilder:object:root=true
// +kubebuilder:object:generate=true
// +kubebuilder:storageversion
// +kubebuilder:resource:shortName=dr
// +kubebuilder:resource:shortName=dreq
// DownloadRequest is a request to download an artifact from backup object storage, such as a backup
// log file.