summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh
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
commita07aff75d4e86c2d9e0a0bb3b0111f2d609a5791 (patch)
tree5f066168589e2b76fc19c7ba04609a4b2b8597c4 /kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh
parentc4b0b79045a56050f2ed0eee8f13237a90815c3c (diff)
parenta1dd587d6a5204030bc266d371e6ec9fa7c95d7b (diff)
Merge "Add Searchguard OOM config to ElasticSearch"
Diffstat (limited to 'kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh')
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh b/kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh
new file mode 100644
index 0000000000..a612c74a1c
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/resources/bin/run.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Wait for ES to start then initialize SearchGuard
+/usr/local/bin/docker-entrypoint.sh eswrapper &
+/usr/share/elasticsearch/bin/wait_until_started.sh
+/usr/share/elasticsearch/bin/init_sg.sh
+
+wait \ No newline at end of file