config seg aai elasticsearch
Change-Id: I1d734fee3e487ba7d2e346576e38aba84928928f
Issue-ID: OOM-660
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
diff --git a/templates/elasticsearch-configmap.yaml b/templates/elasticsearch-configmap.yaml
new file mode 100644
index 0000000..4a02346
--- /dev/null
+++ b/templates/elasticsearch-configmap.yaml
@@ -0,0 +1,9 @@
+#{{ if not .Values.disableAaiElasticsearch }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-elasticsearch-configmap
+ namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/elasticsearch/config/elasticsearch.yml").AsConfig . | indent 2 }}
+#{{ end }}