summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/configmap.yaml
diff options
context:
space:
mode:
authorMahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>2019-02-20 06:54:46 +0000
committerMahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>2019-02-20 07:02:29 +0000
commitf59d9258543481a594a5da26577fdd8288d56df5 (patch)
tree27b9124983e5ebd6d428f214d61bb3893d489119 /kubernetes/common/cassandra/templates/configmap.yaml
parent6c6854859571b9e9a8d8ef1bfcae618eae7ac865 (diff)
Instantiate common cassandra cluster
Issue-ID: OOM-1198 Change-Id: Ie49a34cfbe5bdb2620312e8780dccbc0b86a0d6e Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
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 }}
+