Skip to content

Commit 846e05e

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 42fa5fe commit 846e05e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/api/v1/backup_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const (
119119
)
120120

121121
// BackupSpec defines the desired state of Backup
122+
// +kubebuilder:validation:XValidation:rule="oldSelf == self",message="BackupSpec is immutable once set"
122123
type BackupSpec struct {
123124
// The cluster to backup
124125
Cluster LocalObjectReference `json:"cluster"`

0 commit comments

Comments
 (0)