Add ClickHouse init container output (#163)

This commit is contained in:
Michael Schnerring
2022-07-10 20:50:43 +00:00
committed by GitHub
parent d64b5d25ed
commit 134aca9639
2 changed files with 4 additions and 2 deletions

View File

@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 10.4.1
version: 10.4.2

View File

@@ -152,15 +152,17 @@ before chart installation.
echo "Redis Responded, ending initcontainer and starting main container(s)..."
else
echo "$response"
echo "Redis not respoding... Sleeping for 10 sec..."
echo "Redis not responding... Sleeping for 10 sec..."
sleep 10
fi;
done
{{- end }}
{{- if .Values.clickhouse.enabled }}
until wget --quiet --tries=1 --spider "${CLICKHOUSE_PING}"; do
echo "ClickHouse - no response. Sleeping 2 seconds..."
sleep 2
done
echo "ClickHouse - accepting connections"
{{- end }}
{{- if .Values.solr.enabled }}
if [ "$SOLR_ENABLE_AUTHENTICATION" == "yes" ]; then