From c07081aaa8b0bc8d757e9b6f7180359b27f5bf0b Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Mon, 29 Apr 2024 16:03:29 -0600 Subject: [PATCH] Use MySQL 80 as the default Signed-off-by: Florent Poinsard --- pkg/apis/planetscale/v2/defaults.go | 3 ++- test/endtoend/operator/102_keyspace_teardown.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/apis/planetscale/v2/defaults.go b/pkg/apis/planetscale/v2/defaults.go index 6903b7d7..85b911ab 100644 --- a/pkg/apis/planetscale/v2/defaults.go +++ b/pkg/apis/planetscale/v2/defaults.go @@ -103,6 +103,7 @@ const ( DefaultMysqlPortName = "mysql" defaultVitessLiteImage = "vitess/lite:latest" + defaultMySQLImage = "mysql:8.0.30" DefaultInitCPURequestMillis = 100 DefaultInitMemoryRequestBytes = 32 * (1 << 20) // 32 MiB @@ -132,7 +133,7 @@ var DefaultImages = &VitessImages{ // has easy access to other programs we include in the Vitess image, like // Percona XtraBackup. Mysqld: &MysqldImage{ - Mysql56Compatible: defaultVitessLiteImage, + Mysql80Compatible: defaultMySQLImage, }, MysqldExporter: "prom/mysqld-exporter:v0.11.0", diff --git a/test/endtoend/operator/102_keyspace_teardown.yaml b/test/endtoend/operator/102_keyspace_teardown.yaml index 1efa71e7..013a5bc2 100644 --- a/test/endtoend/operator/102_keyspace_teardown.yaml +++ b/test/endtoend/operator/102_keyspace_teardown.yaml @@ -21,7 +21,7 @@ spec: vtorc: vitess/lite:latest vtbackup: vitess/lite:latest mysqld: - mysql56Compatible: vitess/lite:latest + mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1