mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-19 14:32:36 +00:00
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:
@@ -12,7 +12,7 @@ spec:
|
||||
listKind: BackupRepositoryList
|
||||
plural: backuprepositories
|
||||
shortNames:
|
||||
- br
|
||||
- repo
|
||||
singular: backuprepository
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user