Skip to content

Commit 2c8a25c

Browse files
authored
Merge pull request #32871 from mengjiao-liu/sync_configmap_yaml_zh
[zh] Sync mysql-configmap.yaml
2 parents bc8c561 + 70cabe4 commit 2c8a25c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/zh/examples/application/mysql/mysql-configmap.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ metadata:
55
labels:
66
app: mysql
77
data:
8-
master.cnf: |
9-
# Apply this config only on the master.
8+
primary.cnf: |
9+
# Apply this config only on the primary.
1010
[mysqld]
1111
log-bin
12-
slave.cnf: |
13-
# Apply this config only on slaves.
12+
datadir=/var/lib/mysql/mysql
13+
replica.cnf: |
14+
# Apply this config only on replicas.
1415
[mysqld]
1516
super-read-only
17+
datadir=/var/lib/mysql/mysql
1618

0 commit comments

Comments
 (0)