Revert "basic auth for so-monitoring"
[oom.git] / kubernetes / common / mysql / templates / configmap.yaml
index ff127e4..65ac5f2 100644 (file)
@@ -19,16 +19,23 @@ kind: ConfigMap
 metadata:
   name: {{ include "common.fullname" . }}-db-configmap
   namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
 data:
   master.cnf: |
     # Apply this config only on the master.
     [mysqld]
+    sql_mode = "NO_ENGINE_SUBSTITUTION"
     log-bin
     [localpathprefix]
     master
   slave.cnf: |
     # Apply this config only on slaves.
     [mysqld]
+    sql_mode = "NO_ENGINE_SUBSTITUTION"
     super-read-only
     [localpathprefix]
     slave