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