Skip to content

Commit dfa997b

Browse files
committed
fix: remove password flag from mysqldump command in CronJob for safety
1 parent 02ec61f commit dfa997b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

argocd/waiter/snucse/resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ spec:
152152
- -c
153153
- |
154154
set -euxo pipefail
155-
mysqldump --host=${MYSQL_HOST} --port=${MYSQL_PORT} --user=${MYSQL_USER} --password=${MYSQL_PASSWORD} --single-transaction --routines --triggers --all-databases > /scratch/mysqldump.sql
155+
mysqldump --host=${MYSQL_HOST} --port=${MYSQL_PORT} --user=${MYSQL_USER} --single-transaction --routines --triggers --all-databases > /scratch/mysqldump.sql
156156
containers:
157157
- name: backup
158158
image: ghcr.io/bacchus-snu/images/proxmox-backup-client:5575324

0 commit comments

Comments
 (0)