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

add mysql-shell engine as a supported engine #586

Merged
merged 7 commits into from
Sep 24, 2024
Merged
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion pkg/apis/planetscale/v2/vitesscluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ type ClusterBackupSpec struct {
// from one tablet in each shard. Otherwise, new tablets trying to restore
// will find that the latest backup was created with the wrong engine.
// Default: builtin
// +kubebuilder:validation:Enum=builtin;xtrabackup
// +kubebuilder:validation:Enum=builtin;xtrabackup;mysqlshell
Engine VitessBackupEngine `json:"engine,omitempty"`
// Subcontroller specifies any parameters needed for launching the VitessBackupStorage subcontroller pod.
Subcontroller *VitessBackupSubcontrollerSpec `json:"subcontroller,omitempty"`
Expand All @@ -337,6 +337,8 @@ const (
VitessBackupEngineBuiltIn VitessBackupEngine = "builtin"
// VitessBackupEngineXtraBackup uses Percona XtraBackup for backups.
VitessBackupEngineXtraBackup VitessBackupEngine = "xtrabackup"
// VitessBackupEngineMySQLShell uses MySQL Shell for backups.
VitessBackupEngineMySQLShell VitessBackupEngine = "mysqlshell"
)

// LockserverSpec specifies either a deployed or external lockserver,
Expand Down
Loading