Skip to content

Commit

Permalink
Update MySQL statefulset & deployments to 8.0 (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
guikcd authored Jun 1, 2024
1 parent fce5d7a commit ea467a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions manifests/base-application/catalog/statefulset-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifests/base-application/orders/deployment-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions website/docs/fundamentals/storage/ebs/statefulset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <set to the key 'username' in secret 'catalog-db'> Optional: false
Expand Down

0 comments on commit ea467a9

Please sign in to comment.