Run all components in one namespace
[oom.git] / kubernetes / sdnc / templates / mysql-configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: sdnc-mysql
5   namespace: "{{ .Values.nsPrefix }}"
6   labels:
7     app: mysql
8 data:
9   master.cnf: |
10     # Apply this config only on the master.
11     [mysqld]
12     log-bin
13     [localpathprefix]
14     master
15   slave.cnf: |
16     # Apply this config only on slaves.
17     [mysqld]
18     super-read-only
19     [localpathprefix]
20     slave