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