From eb98f69d42bc847799bc16ed982fee2b248eb58a Mon Sep 17 00:00:00 2001 From: marsal wang <707783088@qq.com> Date: Fri, 31 Dec 2021 00:19:49 +0800 Subject: [PATCH] es --- builder-docker/elasticsearch/Dockerfile | 3 +++ local-values/es/crm1.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 builder-docker/elasticsearch/Dockerfile diff --git a/builder-docker/elasticsearch/Dockerfile b/builder-docker/elasticsearch/Dockerfile new file mode 100644 index 0000000..7822d29 --- /dev/null +++ b/builder-docker/elasticsearch/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/bitnami/elasticsearch:7.16.2-debian-10-r0 + +RUN /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/ \ No newline at end of file diff --git a/local-values/es/crm1.yaml b/local-values/es/crm1.yaml index 8288bdf..f5a8546 100644 --- a/local-values/es/crm1.yaml +++ b/local-values/es/crm1.yaml @@ -193,10 +193,10 @@ extraVolumeMounts: [] ## Specify dictionary of scripts to be run at first boot ## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory ## For example: -# initScripts: -# my_init_script.sh: | -# #!/bin/sh -# /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip +initScripts: + my_init_script.sh: | + #!/bin/sh + /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip # initScripts: {} ## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.