From 71f22bd6f11546fdb0fd2c3c7b8035df3d8abbb8 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 2 Apr 2024 16:13:42 +0800 Subject: [PATCH] prod mysql secret for cm --- prod-upgrade/mysql/mysql-0.yaml | 4 +--- prod-upgrade/mysql/mysql-1.yaml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/prod-upgrade/mysql/mysql-0.yaml b/prod-upgrade/mysql/mysql-0.yaml index 4c8c397..9dc9f33 100644 --- a/prod-upgrade/mysql/mysql-0.yaml +++ b/prod-upgrade/mysql/mysql-0.yaml @@ -9,7 +9,7 @@ data: port=3306 skip-name-resolve datadir=/var/lib/mysql/data - log-bin=/var/lib/mysql/logs + log_bin=/var/lib/mysql/logs socket=/var/lib/mysql/mysql.sock pid-file=/var/lib/mysql/mysqld.pid log-error=/var/lib/mysql/logs/mysqld.log @@ -90,8 +90,6 @@ spec: secretKeyRef: name: mysql key: mysql_apps - - name: MYSQL_DATABASE - value: "test" volumeMounts: - name: mysql-m mountPath: /var/lib/mysql diff --git a/prod-upgrade/mysql/mysql-1.yaml b/prod-upgrade/mysql/mysql-1.yaml index ac8bd38..903954c 100644 --- a/prod-upgrade/mysql/mysql-1.yaml +++ b/prod-upgrade/mysql/mysql-1.yaml @@ -9,7 +9,7 @@ data: port=3306 skip-name-resolve datadir=/var/lib/mysql/data - log-bin=/var/lib/mysql/logs + log_bin=/var/lib/mysql/logs socket=/var/lib/mysql/mysql.sock pid-file=/var/lib/mysql/mysqld.pid log-error=/var/lib/mysql/logs/mysqld.log