blob: dd2b5b7db2c922b4e869b2f773905bc2ebca6cfc [file] [log] [blame]
Mike Elliott13fed112018-02-28 08:33:33 -05001apiVersion: v1
2kind: ConfigMap
3metadata:
4 name: {{ include "common.fullname" . }}-db-configmap
5 namespace: {{ include "common.namespace" . }}
6data:
7 master.cnf: |
8 # Apply this config only on the master.
9 [mysqld]
10 log-bin
11 [localpathprefix]
12 master
13 slave.cnf: |
14 # Apply this config only on slaves.
15 [mysqld]
16 super-read-only
17 [localpathprefix]
18 slave