Skip to content

Commit 8f9020c

Browse files
committed
use password that satisfies simple_password_check policy in k8s workflow
1 parent 413bbb1 commit 8f9020c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/k8s_integration_test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
# the failover controller (a separate pod) can use over TCP.
195195
kubectl exec -n tidesql tidesql-primary -- \
196196
mariadb -e "
197-
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'monitor';
197+
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'M0nitor!Pass9';
198198
GRANT ALL PRIVILEGES ON *.* TO 'monitor'@'%' WITH GRANT OPTION;
199199
FLUSH PRIVILEGES;
200200
"
@@ -355,7 +355,7 @@ jobs:
355355
# Create monitor user on replica for failover controller access
356356
kubectl exec -n tidesql tidesql-replica -- \
357357
mariadb -e "
358-
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'monitor';
358+
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'M0nitor!Pass9';
359359
GRANT ALL PRIVILEGES ON *.* TO 'monitor'@'%' WITH GRANT OPTION;
360360
FLUSH PRIVILEGES;
361361
"
@@ -479,7 +479,7 @@ jobs:
479479
# Create monitor user on new primary
480480
kubectl exec -n tidesql tidesql-primary -- \
481481
mariadb -e "
482-
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'monitor';
482+
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'M0nitor!Pass9';
483483
GRANT ALL PRIVILEGES ON *.* TO 'monitor'@'%' WITH GRANT OPTION;
484484
FLUSH PRIVILEGES;
485485
"
@@ -526,7 +526,7 @@ jobs:
526526
# Create monitor user on fresh replica
527527
kubectl exec -n tidesql tidesql-replica -- \
528528
mariadb -e "
529-
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'monitor';
529+
CREATE USER IF NOT EXISTS 'monitor'@'%' IDENTIFIED BY 'M0nitor!Pass9';
530530
GRANT ALL PRIVILEGES ON *.* TO 'monitor'@'%' WITH GRANT OPTION;
531531
FLUSH PRIVILEGES;
532532
"
@@ -564,7 +564,7 @@ jobs:
564564
CHECK_INTERVAL="${CHECK_INTERVAL:-3}"
565565
FAILURE_THRESHOLD="${FAILURE_THRESHOLD:-2}"
566566
MYSQL_USER="${MYSQL_USER:-monitor}"
567-
MYSQL_PASSWORD="${MYSQL_PASSWORD:-monitor}"
567+
MYSQL_PASSWORD="${MYSQL_PASSWORD:-M0nitor!Pass9}"
568568
FAILURES=0
569569
log() { echo "[$(date -u '+%Y-%m-%dT%H:%M:%SZ')] $*"; }
570570
check_primary() {
@@ -623,7 +623,7 @@ jobs:
623623
- name: MYSQL_USER
624624
value: "monitor"
625625
- name: MYSQL_PASSWORD
626-
value: "monitor"
626+
value: "M0nitor!Pass9"
627627
volumeMounts:
628628
- name: scripts
629629
mountPath: /scripts

0 commit comments

Comments
 (0)