Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix space backups docs leftovers #127

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apis/admin/v1alpha1/spacebackup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories=spaces

// SpaceBackup represents a single backup of a ControlPlane.
// SpaceBackup represents a backup of a Space.
type SpaceBackup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down Expand Up @@ -61,9 +61,9 @@ type SpaceBackupSpec struct {

// SpaceBackupDefinition defines all the parameters for a space backup.
type SpaceBackupDefinition struct {
// ConfigRef is a reference to the backup configuration.
// ConfigRef is a reference to the space backup configuration.
// ApiGroup is optional and defaults to "spaces.upbound.io".
// Kind is required, and the only supported value is "SharedBackupConfig" at
// Kind is required, and the only supported value is "SpaceBackupConfig" at
// the moment.
// Name is required.
// +kubebuilder:validation:Required
Expand Down Expand Up @@ -140,7 +140,7 @@ type GenericSpaceBackupResourceSelector struct {
spacesv1alpha1.ResourceSelector `json:",inline"`
}

// SpaceBackupStatus represents the observed state of a Backup.
// SpaceBackupStatus represents the observed state of a SpaceBackup.
type SpaceBackupStatus struct {
xpv1.ResourceStatus `json:",inline"`

Expand Down
2 changes: 1 addition & 1 deletion apis/admin/v1alpha1/spacebackupschedule_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const SpaceBackupScheduleLabelKey = "admin.spaces.upbound.io/spacebackupschedule
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories=spaces

// SpaceBackupSchedule represents a single ControlPlane schedule for Backups.
// SpaceBackupSchedule represents a schedule to backup a Space.
type SpaceBackupSchedule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
Loading