Add missing traefik crd to the e2e test setup.

This commit is contained in:
2025-12-26 17:54:54 +00:00
parent 1d49573fd1
commit 7f1c490938
+4 -2
View File
@@ -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