From 7f1c4909386e7405cfbd87e3a728bcc48db63018 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Fri, 26 Dec 2025 17:54:54 +0000 Subject: [PATCH] Add missing traefik crd to the e2e test setup. --- e2e/run-all-tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e2e/run-all-tests.sh b/e2e/run-all-tests.sh index 72b22c9..3673f32 100755 --- a/e2e/run-all-tests.sh +++ b/e2e/run-all-tests.sh @@ -65,7 +65,7 @@ main() { --max-targets=100 \ --worker-threads=5 \ --verify-source-freshness=true \ - > "$KUBEMIRROR_LOG" 2>&1 & + >"$KUBEMIRROR_LOG" 2>&1 & KUBEMIRROR_PID=$! @@ -86,7 +86,7 @@ main() { # Check health endpoint local retries=0 while [ $retries -lt 10 ]; do - if curl -s http://localhost:8081/healthz > /dev/null 2>&1; then + if curl -s http://localhost:8081/healthz >/dev/null 2>&1; then log_success "Controller is healthy" break fi @@ -121,6 +121,8 @@ main() { echo " - Namespace creation/deletion/label changes" echo "" + kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/master/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml + if bash "$SCRIPT_DIR/test-comprehensive.sh"; then log_success "Comprehensive Test Suite PASSED" else