Skip to content

Commit

Permalink
add missing e2e test file mysql-client-pod.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Cadetg committed May 16, 2024
1 parent a8ddf56 commit d6a06c1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/e2e/testdata/mysql-client-pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Pod
metadata:
name: mysql-init-pod
namespace: mysql
spec:
restartPolicy: Never
containers:
- name: mysql-client
image: mysql:8 # change to mysql:5.7 if you want to test with MySQL 5.7 but remember
# that the MySQL 5.7 image is is not multi-arch and will not work on ARM64
# out of the box
command: ["sh", "-c"]
args:
- |
mysql -h mysql-service.mysql -uroot -pe2e-mysql-password -e "CREATE DATABASE IF NOT EXISTS seed-database;"

0 comments on commit d6a06c1

Please sign in to comment.