summaryrefslogtreecommitdiffstats
path: root/charts/aai-elasticsearch/templates/configmap.yaml
diff options
context:
space:
mode:
authorJames MacNider <James.MacNider@amdocs.com>2019-03-12 17:02:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-12 17:02:41 +0000
commit215bb81eb81b56e50e6f4c07a897c5e40b387005 (patch)
treefcae27d9db80e28078411a4266dbda0e1c7d2be8 /charts/aai-elasticsearch/templates/configmap.yaml
parentcff7b3ddbc9dbe64076738133bc06d3b1cef1758 (diff)
parentcfb49dbeb4a5509d1bfe529926eaeab568a3bcca (diff)
Merge "Add Searchguard OOM config to ElasticSearch"
Diffstat (limited to 'charts/aai-elasticsearch/templates/configmap.yaml')
-rw-r--r--charts/aai-elasticsearch/templates/configmap.yaml33
1 files changed, 28 insertions, 5 deletions
diff --git a/charts/aai-elasticsearch/templates/configmap.yaml b/charts/aai-elasticsearch/templates/configmap.yaml
index c60b8f2..4be124f 100644
--- a/charts/aai-elasticsearch/templates/configmap.yaml
+++ b/charts/aai-elasticsearch/templates/configmap.yaml
@@ -1,5 +1,4 @@
-# Copyright © 2017 Amdocs, Bell Canada
-# Modifications Copyright © 2018 AT&T
+# Copyright © 2018 Amdocs, Bell Canada, AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,11 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#{{ if not .Values.disableAaiElasticsearch }}
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.fullname" . }}
+ name: {{ include "common.fullname" . }}-es-config
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}
@@ -26,4 +24,29 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
-#{{ end }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-sg-scripts
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/bin/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-sg-config
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/sg/*").AsConfig . | indent 2 }}