prod mysql secret for cm

main
ycz008 2024-04-02 16:13:42 +08:00
parent 8d0088d46c
commit 71f22bd6f1
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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