summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-11-02 14:27:51 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-02 14:27:51 +0000
commit39b104b37b92ad2fd14f4109c5e03cb924b9a3bd (patch)
treefbaaac978b6ef28904e0b8fca484320a6f8c06db /kubernetes/common
parent0908860b88c1400119d588da6b6c59b4b8864e03 (diff)
parentf406ab8e8595b2958942cbfadbf016ff0e78ced7 (diff)
Merge "Create helm charts for oof-cmso"
Diffstat (limited to 'kubernetes/common')
-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: