From 6cc4758325e19c689aceabf864090a50bbb3913b Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 20 Apr 2022 13:39:40 +0000 Subject: [PATCH] 8.1.2-debian-10-r15 release --- .../opt/bitnami/scripts/libelasticsearch.sh | 22 +++++++++++-------- bitnami/elasticsearch/README.md | 5 ++--- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/bitnami/elasticsearch/8/debian-10/rootfs/opt/bitnami/scripts/libelasticsearch.sh b/bitnami/elasticsearch/8/debian-10/rootfs/opt/bitnami/scripts/libelasticsearch.sh index 839a39c11616..2d6cd3a69b55 100644 --- a/bitnami/elasticsearch/8/debian-10/rootfs/opt/bitnami/scripts/libelasticsearch.sh +++ b/bitnami/elasticsearch/8/debian-10/rootfs/opt/bitnami/scripts/libelasticsearch.sh @@ -537,15 +537,19 @@ elasticsearch_configure_node_roles() { local set_repo_path="no" read -r -a roles_list <<<"$(tr ',;' ' ' <<<"$ELASTICSEARCH_NODE_ROLES")" if is_boolean_yes "$ELASTICSEARCH_IS_DEDICATED_NODE"; then - elasticsearch_conf_set node.roles "${roles_list[@]}" - for role in "${roles_list[@]}"; do - case "$role" in - master | data | data_content | data_hot | data_warm | data_cold | data_frozen) - set_repo_path="yes" - ;; - *) ;; - esac - done + if [[ "${#roles_list[@]}" -eq 0 ]]; then + elasticsearch_conf_write node.roles "[]" int + else + elasticsearch_conf_set node.roles "${roles_list[@]}" + for role in "${roles_list[@]}"; do + case "$role" in + master | data | data_content | data_hot | data_warm | data_cold | data_frozen) + set_repo_path="yes" + ;; + *) ;; + esac + done + fi else set_repo_path="yes" fi diff --git a/bitnami/elasticsearch/README.md b/bitnami/elasticsearch/README.md index 9d75e4958c63..72b881eba217 100644 --- a/bitnami/elasticsearch/README.md +++ b/bitnami/elasticsearch/README.md @@ -31,7 +31,6 @@ You can find the available configuration options in the [Environment Variables]( * All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution. * All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. * Bitnami container images are released daily with the latest distribution packages available. -> This [CVE scan report](https://quay.io/repository/bitnami/elasticsearch?tab=tags) contains a security report with all open CVEs. To get the list of actionable security issues, find the "latest" tag, click the vulnerability report link under the corresponding "Security scan" field and then select the "Only show fixable" filter on the next page. ## How to deploy Elasticsearch in Kubernetes? @@ -48,8 +47,8 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`8`, `8-debian-10`, `8.1.2`, `8.1.2-debian-10-r14`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-elasticsearch/blob/8.1.2-debian-10-r14/8/debian-10/Dockerfile) -* [`7`, `7-debian-10`, `7.17.2`, `7.17.2-debian-10-r17` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-elasticsearch/blob/7.17.2-debian-10-r17/7/debian-10/Dockerfile) +* [`8`, `8-debian-10`, `8.1.2`, `8.1.2-debian-10-r15`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-elasticsearch/blob/8.1.2-debian-10-r15/8/debian-10/Dockerfile) +* [`7`, `7-debian-10`, `7.17.2`, `7.17.2-debian-10-r18` (7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-elasticsearch/blob/7.17.2-debian-10-r18/7/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/elasticsearch GitHub repo](https://github.com/bitnami/bitnami-docker-elasticsearch). ## Get this image