From 82378eba53404bd26f24d1b9434bae57df2a4984 Mon Sep 17 00:00:00 2001 From: chen21019 Date: Mon, 23 Nov 2026 15:10:01 +0800 Subject: [PATCH 1/2] Update HAProxy to 3.4.8 for runtime v0.9.35 --- README.md | 13 ++++++++++--- package/haproxy/Dockerfile | 4 ++-- scripts/supply-chain-check | 4 ++-- scripts/verify-haproxy-runtime | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5a9844d..08b2f93 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ This branch contains the compatibility runtime used by PastureStack Server to op ## Runtime image -The maintained runtime release for PastureStack HAProxy load-balancer services is `v0.9.34`. It uses HAProxy 3.4.7 with AWS-LC 5.14.0 and Lua 5.4. +The maintained runtime release for PastureStack HAProxy load-balancer services is `v0.9.35`. It uses HAProxy 3.4.8 with AWS-LC 5.14.0 and Lua 5.4.8. ```text -ghcr.io/pasturestack/load-balancer-service:v0.9.34 +ghcr.io/pasturestack/load-balancer-service:v0.9.35 ``` The image is intended to be managed by PastureStack Server, not started by itself: @@ -17,11 +17,18 @@ the control plane supplies metadata, API credentials, service links, port rules, and health-check configuration. Selecting this release does not itself upgrade an existing Server installation or its load-balancer services. -The [release page](https://github.com/PastureStack/load-balancer-controller/releases/tag/v0.9.34) +The [release page](https://github.com/PastureStack/load-balancer-controller/releases/tag/v0.9.35) provides the manifest digest, controller archive, SBOMs, checksums, and build provenance. HAProxy links AWS-LC statically. Runtime tools such as curl use Alpine's OpenSSL packages. +HAProxy 3.4.8 stays on the 3.4 LTS series. Its source archive is pinned to +SHA-256 `024bd521a6cbbe32b426853147e6bbd6a89b107c5a34144846193fee5b7c6ed1`, +as published in the [upstream checksum](https://www.haproxy.org/download/3.4/src/haproxy-3.4.8.tar.gz.sha256). +The [upstream changelog](https://www.haproxy.org/download/3.4/src/CHANGELOG) +includes HTTP message handling, graceful-stop, TLS, and Lua fixes. The +AWS-LC and Lua versions, controller behavior, and startup interface are unchanged. + ## Compatibility The controller accepts role-specific credentials when the orchestration engine supplies them: diff --git a/package/haproxy/Dockerfile b/package/haproxy/Dockerfile index 3c9c712..947e1ae 100644 --- a/package/haproxy/Dockerfile +++ b/package/haproxy/Dockerfile @@ -1,6 +1,6 @@ ARG ALPINE_IMAGE=docker.io/library/alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b -ARG HAPROXY_VERSION=3.4.7 -ARG HAPROXY_SHA256=ccfd342f3724c2cd659574044d788f44e20b212467c6bd5edbbfc517a2775dca +ARG HAPROXY_VERSION=3.4.8 +ARG HAPROXY_SHA256=024bd521a6cbbe32b426853147e6bbd6a89b107c5a34144846193fee5b7c6ed1 ARG AWS_LC_VERSION=5.14.0 ARG AWS_LC_SHA256=8895a9d2434e875e009e652a1015f9c2c275261634c7132253ca5aa60d266888 diff --git a/scripts/supply-chain-check b/scripts/supply-chain-check index 625137c..ed08803 100755 --- a/scripts/supply-chain-check +++ b/scripts/supply-chain-check @@ -18,8 +18,8 @@ require_text go.mod 'github.com/urfave/cli/v3 v3.11.0' require_text go.mod 'golang.org/x/sys v0.47.0' require_text Dockerfile.dapper 'ARG GO_VERSION=1.27.4' require_text Dockerfile.dapper 'FROM docker:29.7.2-cli@sha256:000bb62ff495f986c9f5578eb67cc2cb98b91138eda81d7762d5371eb8a497fe AS docker-cli' -require_text package/haproxy/Dockerfile 'ARG HAPROXY_VERSION=3.4.7' -require_text package/haproxy/Dockerfile 'ARG HAPROXY_SHA256=ccfd342f3724c2cd659574044d788f44e20b212467c6bd5edbbfc517a2775dca' +require_text package/haproxy/Dockerfile 'ARG HAPROXY_VERSION=3.4.8' +require_text package/haproxy/Dockerfile 'ARG HAPROXY_SHA256=024bd521a6cbbe32b426853147e6bbd6a89b107c5a34144846193fee5b7c6ed1' require_text package/haproxy/Dockerfile 'ARG AWS_LC_VERSION=5.14.0' require_text package/haproxy/Dockerfile 'ARG AWS_LC_SHA256=8895a9d2434e875e009e652a1015f9c2c275261634c7132253ca5aa60d266888' require_text package/haproxy/Dockerfile 'USE_OPENSSL_AWSLC=1' diff --git a/scripts/verify-haproxy-runtime b/scripts/verify-haproxy-runtime index 7696931..b19e1c7 100644 --- a/scripts/verify-haproxy-runtime +++ b/scripts/verify-haproxy-runtime @@ -9,7 +9,7 @@ details=$(docker run --rm --entrypoint /usr/sbin/haproxy "$image" -vv) printf '%s\n' "$details" grep -Fq "HAProxy version $version" <<< "$details" grep -Fq "AWS-LC $aws_lc" <<< "$details" -grep -Fq 'Lua 5.4' <<< "$details" +grep -Fq 'Lua 5.4.8' <<< "$details" linkage=$(docker run --rm --entrypoint /bin/sh "$image" -c 'ldd /usr/sbin/haproxy') if grep -Eq 'lib(crypto|ssl)\.so|not found' <<< "$linkage"; then echo 'Unexpected dynamic TLS dependency' >&2 From 1f647856e0a7cfc649d8f86803015fb9e3a61318 Mon Sep 17 00:00:00 2001 From: chen21019 Date: Mon, 23 Nov 2026 15:13:11 +0800 Subject: [PATCH 2/2] Refresh Alpine OpenSSL package revision available upstream --- package/haproxy/alpine-apk.lock | 4 ++-- scripts/supply-chain-check | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/haproxy/alpine-apk.lock b/package/haproxy/alpine-apk.lock index c18d3df..8184cb9 100644 --- a/package/haproxy/alpine-apk.lock +++ b/package/haproxy/alpine-apk.lock @@ -6,9 +6,9 @@ ALPINE_MUSL_VERSION='1.2.6-r3' ALPINE_CA_CERTIFICATES_VERSION='20261020-r0' ALPINE_CMAKE_VERSION='4.2.3-r0' ALPINE_CURL_VERSION='8.23.0-r0' -ALPINE_LIBCRYPTO3_VERSION='3.5.9-r0' +ALPINE_LIBCRYPTO3_VERSION='3.5.9-r1' ALPINE_LIBCAP_UTILS_VERSION='2.78-r0' -ALPINE_LIBSSL3_VERSION='3.5.9-r0' +ALPINE_LIBSSL3_VERSION='3.5.9-r1' ALPINE_LINUX_HEADERS_VERSION='7.0.0-r1' ALPINE_LUA5_4_DEV_VERSION='5.4.8-r0' ALPINE_LUA5_4_LIBS_VERSION='5.4.8-r0' diff --git a/scripts/supply-chain-check b/scripts/supply-chain-check index ed08803..9af7fe4 100755 --- a/scripts/supply-chain-check +++ b/scripts/supply-chain-check @@ -27,8 +27,8 @@ require_text package/haproxy/Dockerfile 'LUA_INC=/usr/include/lua5.4' require_text package/haproxy/Dockerfile 'ARG ALPINE_IMAGE=docker.io/library/alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b' require_text package/haproxy/Dockerfile '"libcrypto3=${ALPINE_LIBCRYPTO3_VERSION}"' require_text package/haproxy/Dockerfile '"libssl3=${ALPINE_LIBSSL3_VERSION}"' -require_text package/haproxy/alpine-apk.lock "ALPINE_LIBCRYPTO3_VERSION='3.5.9-r0'" -require_text package/haproxy/alpine-apk.lock "ALPINE_LIBSSL3_VERSION='3.5.9-r0'" +require_text package/haproxy/alpine-apk.lock "ALPINE_LIBCRYPTO3_VERSION='3.5.9-r1'" +require_text package/haproxy/alpine-apk.lock "ALPINE_LIBSSL3_VERSION='3.5.9-r1'" require_text package/haproxy/Dockerfile '"zlib=${ALPINE_ZLIB_VERSION}"' require_text package/haproxy/alpine-apk.lock "ALPINE_ZLIB_VERSION='1.4-r0'" require_text package/haproxy/Dockerfile 'TARGET=linux-musl'