aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/configmap.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-02-27 17:29:29 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-27 17:29:29 +0000
commit6bfc50c41e338b52818323ffe9550a94d1111dea (patch)
treeb2a07a54c34d0c3fcee8dd342c12a71ebb98566b /kubernetes/common/cassandra/templates/configmap.yaml
parent526ca35cce4afc61ce82699091a155e55861e906 (diff)
parentf59d9258543481a594a5da26577fdd8288d56df5 (diff)
Merge "Instantiate common cassandra cluster"
Diffstat (limited to 'kubernetes/common/cassandra/templates/configmap.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/configmap.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/configmap.yaml b/kubernetes/common/cassandra/templates/configmap.yaml
new file mode 100644
index 0000000000..a9420d7e5b
--- /dev/null
+++ b/kubernetes/common/cassandra/templates/configmap.yaml
@@ -0,0 +1,15 @@
+{{- if .Values.configOverrides }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-configOverrides
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ toYaml .Values.configOverrides | indent 2 }}
+{{- end }}
+