blob: dd2b5b7db2c922b4e869b2f773905bc2ebca6cfc [file] [log] [blame]
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.fullname" . }}-db-configmap
namespace: {{ include "common.namespace" . }}
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