elastic readinessprobe small fixes

This commit is contained in:
Leo Sok 2025-06-16 18:57:53 +03:00
parent 4968def2df
commit a1ea9f1774

View File

@ -242,10 +242,10 @@ spec:
set -e
# Exit if ELASTIC_PASSWORD in unset
if [ -z "${ELASTIC_PASSWORD}" ]; then
echo "ELASTIC_PASSWORD variable is missing, exiting"
exit 1
fi
#if [ -z "${ELASTIC_PASSWORD}" ]; then
# echo "ELASTIC_PASSWORD variable is missing, exiting"
# exit 1
#fi
# If the node is starting up wait for the cluster to be ready (request params: "{{ .Values.clusterHealthCheckParams }}" )
# Once it has started only check that the node itself is responding