summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates
diff options
context:
space:
mode:
authorJerry Flood <jflood@att.com>2018-10-23 07:10:48 -0400
committerJerry Flood <jflood@att.com>2018-11-02 09:58:41 -0400
commitf406ab8e8595b2958942cbfadbf016ff0e78ced7 (patch)
treec4ba80e12d232f7dde8059de016c43c3fc93f7c0 /kubernetes/common/mariadb-galera/templates
parentc506b7cf87e92abff8fdc31fc9e92d4cac0352be (diff)
Create helm charts for oof-cmso
This change provides the necessary helm charts to instantiate the oof-cmso database (mariadb-galera) and oof-cmso service to support the scheduling of change management requests. Issue-ID: OPTFRA-373 Change-Id: I5e5024849f251eee29d3d8697e46756211b5c640 Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates')
-rw-r--r--kubernetes/common/mariadb-galera/templates/configmap.yaml6
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml2
2 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/configmap.yaml b/kubernetes/common/mariadb-galera/templates/configmap.yaml
index 54096cf5c0..4f99da1692 100644
--- a/kubernetes/common/mariadb-galera/templates/configmap.yaml
+++ b/kubernetes/common/mariadb-galera/templates/configmap.yaml
@@ -24,9 +24,9 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.fullname" . }}-externalConfig
+ name: {{ include "common.fullname" . }}-external-config
namespace: {{ include "common.namespace" . }}
data:
- my_extra.cnf: |-
-{{ toYaml .Values.externalConfig | indent 4 }}
+ my_extra.cnf: |
+{{ .Values.externalConfig | indent 4 }}
{{- end -}} \ No newline at end of file
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index 2266bfc4e2..7ca207f7e9 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -40,7 +40,7 @@ spec:
{{- if .Values.externalConfig }}
- name: config
configMap:
- name: {{ include "common.fullname" . }}-externalConfig
+ name: {{ include "common.fullname" . }}-external-config
{{- end}}
- name: localtime
hostPath: