From 2c119cd5fd15a1a74f03bcd0c5245fee19d25721 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 8 Apr 2026 21:27:32 +0200 Subject: [PATCH] [bitnami/hubble-ui] Release 0.13.4-debian-12-r5 (#92246) Signed-off-by: Bitnami Bot --- bitnami/hubble-ui/0/debian-12/Dockerfile | 8 ++++---- .../0/debian-12/rootfs/opt/bitnami/scripts/libnginx.sh | 8 ++++++++ .../0/debian-12/rootfs/opt/bitnami/scripts/nginx-env.sh | 2 ++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/bitnami/hubble-ui/0/debian-12/Dockerfile b/bitnami/hubble-ui/0/debian-12/Dockerfile index 64070c40577a..fea04d415041 100644 --- a/bitnami/hubble-ui/0/debian-12/Dockerfile +++ b/bitnami/hubble-ui/0/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="2026-03-30T18:55:56Z" \ + org.opencontainers.image.created="2026-04-08T19:18:18Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/hubble-ui/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/hubble-ui" \ @@ -28,8 +28,8 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \ DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \ mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ - "render-template-1.0.9-163-linux-${OS_ARCH}-debian-12" \ - "nginx-1.29.7-0-linux-${OS_ARCH}-debian-12" \ + "render-template-1.0.9-164-linux-${OS_ARCH}-debian-12" \ + "nginx-1.29.8-0-linux-${OS_ARCH}-debian-12" \ "hubble-ui-0.13.4-0-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ @@ -55,7 +55,7 @@ RUN rm -rf /app && \ ln -sf /opt/bitnami/hubble-ui/public /app ENV APP_VERSION="0.13.4" \ BITNAMI_APP_NAME="hubble-ui" \ - IMAGE_REVISION="4" \ + IMAGE_REVISION="5" \ NGINX_HTTPS_PORT_NUMBER="" \ NGINX_HTTP_PORT_NUMBER="" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/nginx/sbin:$PATH" diff --git a/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/libnginx.sh b/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/libnginx.sh index 319973275135..80dceff58cfd 100644 --- a/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/libnginx.sh +++ b/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/libnginx.sh @@ -139,9 +139,16 @@ nginx_validate() { print_validation_error "An invalid port was specified in the environment variable ${port_var}: ${err}." fi } + check_valid_worker_processes() { + local worker_processes_var="${1:?missing worker_processes variable}" + if [[ "${!worker_processes_var}" != "auto" ]] && ! [[ "${!worker_processes_var}" =~ ^[1-9][0-9]*$ ]]; then + print_validation_error "The allowed values for ${worker_processes_var} are: auto or a positive integer" + fi + } ! is_empty_value "$NGINX_ENABLE_ABSOLUTE_REDIRECT" && check_yes_no_value "NGINX_ENABLE_ABSOLUTE_REDIRECT" ! is_empty_value "$NGINX_ENABLE_PORT_IN_REDIRECT" && check_yes_no_value "NGINX_ENABLE_PORT_IN_REDIRECT" + ! is_empty_value "$NGINX_WORKER_PROCESSES" && check_valid_worker_processes "NGINX_WORKER_PROCESSES" ! is_empty_value "$NGINX_HTTP_PORT_NUMBER" && check_valid_port "NGINX_HTTP_PORT_NUMBER" ! is_empty_value "$NGINX_HTTPS_PORT_NUMBER" && check_valid_port "NGINX_HTTPS_PORT_NUMBER" @@ -206,6 +213,7 @@ nginx_initialize() { if [[ -n "${NGINX_HTTPS_PORT_NUMBER:-}" ]] && [[ -f "${NGINX_SERVER_BLOCKS_DIR}/default-https-server-block.conf" ]]; then nginx_configure_port "$NGINX_HTTPS_PORT_NUMBER" "${NGINX_SERVER_BLOCKS_DIR}/default-https-server-block.conf" fi + nginx_configure "worker_processes" "$NGINX_WORKER_PROCESSES" nginx_configure "absolute_redirect" "$(is_boolean_yes "$NGINX_ENABLE_ABSOLUTE_REDIRECT" && echo "on" || echo "off" )" nginx_configure "port_in_redirect" "$(is_boolean_yes "$NGINX_ENABLE_PORT_IN_REDIRECT" && echo "on" || echo "off" )" # Stream configuration diff --git a/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/nginx-env.sh b/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/nginx-env.sh index 707a05dbe6db..89c28461f757 100644 --- a/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/nginx-env.sh +++ b/bitnami/hubble-ui/0/debian-12/rootfs/opt/bitnami/scripts/nginx-env.sh @@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}" # By setting an environment variable matching *_FILE to a file path, the prefixed environment # variable will be overridden with the value specified in that file nginx_env_vars=( + NGINX_WORKER_PROCESSES NGINX_HTTP_PORT_NUMBER NGINX_HTTPS_PORT_NUMBER NGINX_SKIP_SAMPLE_CERTS @@ -72,6 +73,7 @@ export NGINX_DEFAULT_HTTPS_PORT_NUMBER="8443" export WEB_SERVER_DEFAULT_HTTPS_PORT_NUMBER="$NGINX_DEFAULT_HTTPS_PORT_NUMBER" # only used at build time # NGINX configuration +export NGINX_WORKER_PROCESSES="${NGINX_WORKER_PROCESSES:-auto}" export NGINX_HTTP_PORT_NUMBER="${NGINX_HTTP_PORT_NUMBER:-}" export WEB_SERVER_HTTP_PORT_NUMBER="$NGINX_HTTP_PORT_NUMBER" export NGINX_HTTPS_PORT_NUMBER="${NGINX_HTTPS_PORT_NUMBER:-}"