Skip to content

Commit

Permalink
support Platinum backup enum (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjeevan-ib authored Sep 11, 2023
1 parent 522016b commit 92dc7d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/databaseclaim_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ type DatabaseClaimSpec struct {

// BackupPolicy specifies the duration at which db backups are taken
// +optional
// +kubebuilder:validation:Enum=Bronze;Silver;Gold
// +kubebuilder:validation:Enum=Bronze;Silver;Gold;Platinum
BackupPolicy string `json:"backupPolicy,omitempty"`

// RestoreFrom indicates the snapshot to restore the Database from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ spec:
- Bronze
- Silver
- Gold
- Platinum
type: string
class:
default: default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ spec:
- Bronze
- Silver
- Gold
- Platinum
type: string
class:
default: default
Expand Down

0 comments on commit 92dc7d5

Please sign in to comment.