From a951da21f3ee275590fb180df076c6f6e36f3df5 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 15 Oct 2025 08:46:38 +0200 Subject: [PATCH] [bitnami/consul] Release 1.21.5-debian-12-r4 (#87594) Signed-off-by: Bitnami Bot --- bitnami/consul/1/debian-12/Dockerfile | 4 ++-- .../rootfs/opt/bitnami/consul/templates/consul.json.tpl | 4 +++- .../1/debian-12/rootfs/opt/bitnami/scripts/consul-env.sh | 4 ++-- .../1/debian-12/rootfs/opt/bitnami/scripts/libconsul.sh | 2 +- bitnami/consul/README.md | 4 ++-- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/bitnami/consul/1/debian-12/Dockerfile b/bitnami/consul/1/debian-12/Dockerfile index 673cb54492ed..d0cad2949141 100644 --- a/bitnami/consul/1/debian-12/Dockerfile +++ b/bitnami/consul/1/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-10-14T01:57:51Z" \ + org.opencontainers.image.created="2025-10-15T06:32:24Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/consul/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/consul" \ @@ -50,7 +50,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/consul/postunpack.sh ENV APP_VERSION="1.21.5" \ BITNAMI_APP_NAME="consul" \ - IMAGE_REVISION="3" \ + IMAGE_REVISION="4" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/consul/bin:$PATH" EXPOSE 8300 8301 8500 8600 diff --git a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/consul/templates/consul.json.tpl b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/consul/templates/consul.json.tpl index 424fcbc16af3..56d6d8a9c1a4 100755 --- a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/consul/templates/consul.json.tpl +++ b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/consul/templates/consul.json.tpl @@ -12,12 +12,14 @@ "raft_multiplier": {{CONSUL_RAFT_MULTIPLIER}} }, "addresses": { - "http": "{{CONSUL_CLIENT_LAN_ADDRESS}}" + "http": "{{CONSUL_CLIENT_LAN_ADDRESS}}", + "https": "{{CONSUL_CLIENT_LAN_ADDRESS}}" }, "retry_join": ["{{CONSUL_RETRY_JOIN_ADDRESS}}"], "retry_join_wan": ["{{CONSUL_RETRY_JOIN_WAN_ADDRESS}}"], "ports": { "http": {{CONSUL_HTTP_PORT_NUMBER}}, + "https": {{CONSUL_HTTPS_PORT_NUMBER}}, "dns": {{CONSUL_DNS_PORT_NUMBER}}, "serf_lan": {{CONSUL_SERF_LAN_PORT_NUMBER}}, "server": {{CONSUL_RPC_PORT_NUMBER}} diff --git a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/consul-env.sh b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/consul-env.sh index 48bf775013a7..d7a6a0c64ef1 100644 --- a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/consul-env.sh +++ b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/consul-env.sh @@ -26,7 +26,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}" consul_env_vars=( CONSUL_RPC_PORT_NUMBER CONSUL_HTTP_PORT_NUMBER - CONSUL_DNS_PORT_NUMBER + CONSUL_HTTPS_PORT_NUMBER CONSUL_DNS_PORT_NUMBER CONSUL_AGENT_MODE CONSUL_DISABLE_KEYRING_FILE @@ -95,7 +95,7 @@ export CONSUL_SYSTEM_GROUP="$CONSUL_DAEMON_GROUP" # Consul runtime settings export CONSUL_RPC_PORT_NUMBER="${CONSUL_RPC_PORT_NUMBER:-8300}" export CONSUL_HTTP_PORT_NUMBER="${CONSUL_HTTP_PORT_NUMBER:-8500}" -export CONSUL_DNS_PORT_NUMBER="${CONSUL_DNS_PORT_NUMBER:-8600}" +export CONSUL_HTTPS_PORT_NUMBER="${CONSUL_HTTPS_PORT_NUMBER:--1}" export CONSUL_DNS_PORT_NUMBER="${CONSUL_DNS_PORT_NUMBER:-8600}" CONSUL_AGENT_MODE="${CONSUL_AGENT_MODE:-"${CONSUL_SERVER_MODE:-}"}" export CONSUL_AGENT_MODE="${CONSUL_AGENT_MODE:-server}" diff --git a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/libconsul.sh b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/libconsul.sh index f4e95daa87b8..2dd0e1af6ad9 100644 --- a/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/libconsul.sh +++ b/bitnami/consul/1/debian-12/rootfs/opt/bitnami/scripts/libconsul.sh @@ -63,7 +63,7 @@ consul_validate() { check_ip_value CONSUL_CLIENT_LAN_ADDRESS check_ip_value CONSUL_SERF_LAN_ADDRESS - for var in "CONSUL_RPC_PORT_NUMBER" "CONSUL_HTTP_PORT_NUMBER" "CONSUL_DNS_PORT_NUMBER" "CONSUL_SERF_LAN_PORT_NUMBER"; do + for var in "CONSUL_RPC_PORT_NUMBER" "CONSUL_DNS_PORT_NUMBER" "CONSUL_SERF_LAN_PORT_NUMBER"; do if ! err=$(validate_port -unprivileged "${!var}"); then print_validation_error "An invalid port was specified in the environment variable $var: $err" fi diff --git a/bitnami/consul/README.md b/bitnami/consul/README.md index 77d2e1336eba..d097bc4186b9 100644 --- a/bitnami/consul/README.md +++ b/bitnami/consul/README.md @@ -290,8 +290,8 @@ volumes: | Name | Description | Default Value | |---------------------------------|-----------------------------------------------------|---------------| | `CONSUL_RPC_PORT_NUMBER` | Consul RPC port number. | `8300` | -| `CONSUL_HTTP_PORT_NUMBER` | Consul RPC port number. | `8500` | -| `CONSUL_DNS_PORT_NUMBER` | Consul DNS port number. | `8600` | +| `CONSUL_HTTP_PORT_NUMBER` | Consul HTTP port number. | `8500` | +| `CONSUL_HTTPS_PORT_NUMBER` | Consul HTTPS port number. | `-1` | | `CONSUL_DNS_PORT_NUMBER` | Consul DNS port number. | `8600` | | `CONSUL_AGENT_MODE` | Consul agent mode. | `server` | | `CONSUL_DISABLE_KEYRING_FILE` | Disable keyring file in Consul. | `false` |