Skip to content

Commit 98d9abd

Browse files
committed
chore(ci): fix cilium ci tests
Cilium helm values have changed from string to boolean. Found in https://github.com/siderolabs/talos/actions/runs/10328653708/job/28595449398 Signed-off-by: Noel Georgi <git@frezbo.dev>
1 parent beb9602 commit 98d9abd

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

hack/test/e2e.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ function install_and_run_cilium_cni_tests {
243243

244244
case "${WITH_KUBESPAN:-false}" in
245245
true)
246-
CILIUM_NODE_ENCRYPTION=no
246+
CILIUM_NODE_ENCRYPTION=false
247247
CILIUM_TEST_EXTRA_ARGS=("--test="!node-to-node-encryption"")
248248
;;
249249
*)
250-
CILIUM_NODE_ENCRYPTION=yes
250+
CILIUM_NODE_ENCRYPTION=true
251251
CILIUM_TEST_EXTRA_ARGS=()
252252
;;
253253
esac
@@ -281,11 +281,12 @@ function install_and_run_cilium_cni_tests {
281281

282282
${CILIUM_CLI} status --wait --wait-duration=10m
283283

284-
${KUBECTL} delete ns --ignore-not-found cilium-test
284+
# ref: https://github.com/cilium/cilium-cli/releases/tag/v0.16.14
285+
${KUBECTL} delete ns --ignore-not-found cilium-test-1
285286

286-
${KUBECTL} create ns cilium-test
287-
${KUBECTL} label ns cilium-test pod-security.kubernetes.io/enforce=privileged
287+
${KUBECTL} create ns cilium-test-1
288+
${KUBECTL} label ns cilium-test-1 pod-security.kubernetes.io/enforce=privileged
288289

289290
# --external-target added, as default 'one.one.one.one' is buggy, and CloudFlare status is of course "all healthy"
290-
${CILIUM_CLI} connectivity test --test-namespace cilium-test --external-target google.com "${CILIUM_TEST_EXTRA_ARGS[@]}"; ${KUBECTL} delete ns cilium-test
291+
${CILIUM_CLI} connectivity test --test-namespace cilium-test --external-target google.com --timeout=20m "${CILIUM_TEST_EXTRA_ARGS[@]}"; ${KUBECTL} delete ns cilium-test-1
291292
}

0 commit comments

Comments
 (0)