[bitnami/elasticsearch] Release 7.17.8-debian-11-r11 (#19855)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-01-11 19:59:18 +01:00
committed by GitHub
parent ed0ec9bec1
commit 49b79c21ac
4 changed files with 3 additions and 8 deletions

View File

@@ -6,7 +6,8 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="7.17.8-debian-11-r10" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="7.17.8-debian-11-r11" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/elasticsearch" \
org.opencontainers.image.title="elasticsearch" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@@ -31,7 +31,7 @@ get_sematic_version () {
while [[ $i -lt $n ]]; do
if [[ -n "${BASH_REMATCH[$i]}" ]] && [[ "${BASH_REMATCH[$i]:0:1}" != '.' ]]; then
version_sections[$j]=${BASH_REMATCH[$i]}
version_sections[j]="${BASH_REMATCH[$i]}"
((j++))
fi
((i++))

View File

@@ -27,7 +27,6 @@ elasticsearch_env_vars=(
ELASTICSEARCH_BIND_ADDRESS
ELASTICSEARCH_ADVERTISED_HOSTNAME
ELASTICSEARCH_CLUSTER_HOSTS
ELASTICSEARCH_TOTAL_NODES
ELASTICSEARCH_CLUSTER_MASTER_HOSTS
ELASTICSEARCH_CLUSTER_NAME
ELASTICSEARCH_HEAP_SIZE
@@ -120,7 +119,6 @@ export ELASTICSEARCH_DAEMON_GROUP="elasticsearch"
export ELASTICSEARCH_BIND_ADDRESS="${ELASTICSEARCH_BIND_ADDRESS:-}"
export ELASTICSEARCH_ADVERTISED_HOSTNAME="${ELASTICSEARCH_ADVERTISED_HOSTNAME:-}"
export ELASTICSEARCH_CLUSTER_HOSTS="${ELASTICSEARCH_CLUSTER_HOSTS:-}"
export ELASTICSEARCH_TOTAL_NODES="${ELASTICSEARCH_TOTAL_NODES:-}"
export ELASTICSEARCH_CLUSTER_MASTER_HOSTS="${ELASTICSEARCH_CLUSTER_MASTER_HOSTS:-}"
export ELASTICSEARCH_CLUSTER_NAME="${ELASTICSEARCH_CLUSTER_NAME:-}"
export ELASTICSEARCH_HEAP_SIZE="${ELASTICSEARCH_HEAP_SIZE:-1024m}"

View File

@@ -388,13 +388,9 @@ elasticsearch_cluster_configuration() {
if [[ -n "$ELASTICSEARCH_CLUSTER_HOSTS" ]]; then
read -r -a host_list <<<"$(tr ',;' ' ' <<<"$ELASTICSEARCH_CLUSTER_HOSTS")"
master_list=("${host_list[@]}")
total_nodes=${#host_list[@]}
if [[ -n "$ELASTICSEARCH_CLUSTER_MASTER_HOSTS" ]]; then
read -r -a master_list <<<"$(tr ',;' ' ' <<<"$ELASTICSEARCH_CLUSTER_MASTER_HOSTS")"
fi
if [[ -n "$ELASTICSEARCH_TOTAL_NODES" ]]; then
total_nodes=$ELASTICSEARCH_TOTAL_NODES
fi
es_version="$(elasticsearch_get_version)"
es_major_version="$(get_sematic_version "$es_version" 1)"
elasticsearch_conf_set discovery.seed_hosts "${host_list[@]}"