From ed67f9930c1daaeac90277ac7047c1e41f09c9aa Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 20 Nov 2026 03:43:50 -0800 Subject: [PATCH] helm CI: check the volume HTTPS rollout annotation Co-Authored-By: Claude Opus 5.5 --- .github/workflows/helm_ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm_ci.yml b/.github/workflows/helm_ci.yml index 2c9af2e22b..e389911b7f 100644 --- a/.github/workflows/helm_ci.yml +++ b/.github/workflows/helm_ci.yml @@ -275,6 +275,11 @@ jobs: grep -q "'\*.test-seaweedfs-volume.default'" /tmp/volume-https.yaml grep -q "'\*.test-seaweedfs-volume-hot.default'" /tmp/volume-https.yaml test "$(grep -c 'scheme: HTTPS' /tmp/volume-https.yaml)" -eq 4 + test "$(grep -c 'checksum/volume-https:' /tmp/volume-https.yaml)" -eq 4 + if grep -q 'checksum/volume-https' /tmp/security.yaml; then + echo "FAIL: the volume HTTPS rollout annotation should only render while the option is on" + exit 1 + fi if helm template test $CHART_DIR --set global.seaweedfs.volumeHttps.enabled=true > /dev/null 2>/tmp/volume-https-nosec.err; then echo "FAIL: volumeHttps without enableSecurity should fail to render" exit 1 @@ -286,7 +291,7 @@ jobs: exit 1 fi grep -q "not supported with allInOne" /tmp/volume-https-aio.err - echo "Volume server HTTPS renders [https.volume], [https.client], certificate names and HTTPS probes" + echo "Volume server HTTPS renders [https.volume], [https.client], certificate names, HTTPS probes and rollout annotations" echo "=== Testing secure bucket-creation hook certificate mounts ===" helm template test $CHART_DIR \