From ea467a9d184e151bad4a533910ab8ac175ddf620 Mon Sep 17 00:00:00 2001 From: Guillaume Delacour Date: Sat, 1 Jun 2024 05:12:27 +0200 Subject: [PATCH] Update MySQL statefulset & deployments to 8.0 (#935) --- manifests/base-application/catalog/statefulset-mysql.yaml | 4 +--- manifests/base-application/orders/deployment-mysql.yaml | 2 +- .../modules/fundamentals/storage/ebs/statefulset-mysql.yaml | 4 +--- website/docs/fundamentals/storage/ebs/statefulset.md | 4 +--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/manifests/base-application/catalog/statefulset-mysql.yaml b/manifests/base-application/catalog/statefulset-mysql.yaml index 81f5d6e65..e75338071 100644 --- a/manifests/base-application/catalog/statefulset-mysql.yaml +++ b/manifests/base-application/catalog/statefulset-mysql.yaml @@ -24,9 +24,7 @@ spec: spec: containers: - name: mysql - image: "public.ecr.aws/docker/library/mysql:5.7" - args: - - "--ignore-db-dir=lost+found" + image: "public.ecr.aws/docker/library/mysql:8.0" imagePullPolicy: IfNotPresent env: - name: MYSQL_ROOT_PASSWORD diff --git a/manifests/base-application/orders/deployment-mysql.yaml b/manifests/base-application/orders/deployment-mysql.yaml index 424d4687c..e36ba8faa 100644 --- a/manifests/base-application/orders/deployment-mysql.yaml +++ b/manifests/base-application/orders/deployment-mysql.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: mysql - image: "public.ecr.aws/docker/library/mysql:5.7" + image: "public.ecr.aws/docker/library/mysql:8.0" imagePullPolicy: IfNotPresent env: - name: MYSQL_ROOT_PASSWORD diff --git a/manifests/modules/fundamentals/storage/ebs/statefulset-mysql.yaml b/manifests/modules/fundamentals/storage/ebs/statefulset-mysql.yaml index 2f8f3edc1..74dbb43fd 100644 --- a/manifests/modules/fundamentals/storage/ebs/statefulset-mysql.yaml +++ b/manifests/modules/fundamentals/storage/ebs/statefulset-mysql.yaml @@ -25,9 +25,7 @@ spec: spec: containers: - name: mysql - image: "public.ecr.aws/docker/library/mysql:5.7" - args: - - "--ignore-db-dir=lost+found" + image: "public.ecr.aws/docker/library/mysql:8.0" imagePullPolicy: IfNotPresent env: - name: MYSQL_ROOT_PASSWORD diff --git a/website/docs/fundamentals/storage/ebs/statefulset.md b/website/docs/fundamentals/storage/ebs/statefulset.md index 7de204e15..237a0d41b 100644 --- a/website/docs/fundamentals/storage/ebs/statefulset.md +++ b/website/docs/fundamentals/storage/ebs/statefulset.md @@ -23,11 +23,9 @@ Namespace: catalog [...] Containers: mysql: - Image: public.ecr.aws/docker/library/mysql:5.7 + Image: public.ecr.aws/docker/library/mysql:8.0 Port: 3306/TCP Host Port: 0/TCP - Args: - --ignore-db-dir=lost+found Environment: MYSQL_ROOT_PASSWORD: my-secret-pw MYSQL_USER: Optional: false