Skip to content

Commit

Permalink
fix: initCotainerのimageとdump先を直す
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 17, 2023
1 parent 4957a48 commit 3d24f86
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ metadata:
name: mariadb
spec:
initContainers:
- name: sqldump-exporter
image: busybox:1.36.1
- image: mariadb:10.11.6
env:
- name: DB_PASSWORD
valueFrom:
Expand All @@ -15,10 +14,10 @@ spec:
volumeMounts:
- name: sqldump-volume
mountPath: /docker-entrypoint-initdb.d
command:
args:
- "sh"
- "-c"
- 'mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist flyway_managed_schema > seichiassist.sql'
- 'mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist flyway_managed_schema > /docker-entrypoint-initdb.d/seichiassist.sql'

rootPasswordSecretKeyRef:
name: mariadb-pr-review-password
Expand Down

0 comments on commit 3d24f86

Please sign in to comment.