From 748a9b69b5393146b46256524bb26d3b81844ac5 Mon Sep 17 00:00:00 2001 From: Leo Sok Date: Thu, 24 Jul 2025 13:59:09 +0300 Subject: [PATCH] poststartup script moved to extra container, non init --- elasticsearch/values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml index cae72c5..e5a3d30 100644 --- a/elasticsearch/values.yaml +++ b/elasticsearch/values.yaml @@ -174,12 +174,13 @@ extraVolumeMounts: extraContainers: - name: elasticsearch-template-loader - image: docker.io/library/elasticsearch:8.5.1 + image: alpine:3.20 command: - /bin/bash - -c - | set -ex + apk add --no-cache bash curl coreutils echo "[template-loader] Waiting for Elasticsearch at $ES_URL..." for i in $(seq 1 ${MAX_RETRIES:-30}); do if curl -s "$ES_URL" >/dev/null; then