diff --git a/bitnami/elasticsearch/7/debian-11/Dockerfile b/bitnami/elasticsearch/7/debian-11/Dockerfile index c539bf22ae97..355759652326 100644 --- a/bitnami/elasticsearch/7/debian-11/Dockerfile +++ b/bitnami/elasticsearch/7/debian-11/Dockerfile @@ -9,10 +9,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-09-24T17:12:00Z" \ + org.opencontainers.image.created="2023-09-27T11:51:15Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="7.17.13-debian-11-r17" \ + org.opencontainers.image.ref.name="7.17.13-debian-11-r20" \ org.opencontainers.image.title="elasticsearch" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.17.13" diff --git a/bitnami/elasticsearch/7/debian-11/rootfs/opt/bitnami/scripts/libelasticsearch.sh b/bitnami/elasticsearch/7/debian-11/rootfs/opt/bitnami/scripts/libelasticsearch.sh index f8dea107b3bf..4713bb5da79b 100644 --- a/bitnami/elasticsearch/7/debian-11/rootfs/opt/bitnami/scripts/libelasticsearch.sh +++ b/bitnami/elasticsearch/7/debian-11/rootfs/opt/bitnami/scripts/libelasticsearch.sh @@ -910,8 +910,10 @@ elasticsearch_healthcheck() { host=$(get_elasticsearch_hostname) - is_boolean_yes "$DB_ENABLE_SECURITY" && command_args+=("-k" "--user" "${DB_USERNAME}:${DB_PASSWORD}") - is_boolean_yes "$DB_ENABLE_REST_TLS" && protocol="https" + if is_boolean_yes "$DB_ENABLE_SECURITY"; then + command_args+=("-k" "--user" "${DB_USERNAME}:${DB_PASSWORD}") + is_boolean_yes "$DB_ENABLE_REST_TLS" && protocol="https" + fi # Combination of --silent, --output and --write-out allows us to obtain both the status code and the request body output=$(mktemp)