mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-07-09 04:03:18 +00:00
Add missing traefik crd to the e2e test setup.
This commit is contained in:
@@ -65,7 +65,7 @@ main() {
|
|||||||
--max-targets=100 \
|
--max-targets=100 \
|
||||||
--worker-threads=5 \
|
--worker-threads=5 \
|
||||||
--verify-source-freshness=true \
|
--verify-source-freshness=true \
|
||||||
> "$KUBEMIRROR_LOG" 2>&1 &
|
>"$KUBEMIRROR_LOG" 2>&1 &
|
||||||
|
|
||||||
KUBEMIRROR_PID=$!
|
KUBEMIRROR_PID=$!
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ main() {
|
|||||||
# Check health endpoint
|
# Check health endpoint
|
||||||
local retries=0
|
local retries=0
|
||||||
while [ $retries -lt 10 ]; do
|
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"
|
log_success "Controller is healthy"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@@ -121,6 +121,8 @@ main() {
|
|||||||
echo " - Namespace creation/deletion/label changes"
|
echo " - Namespace creation/deletion/label changes"
|
||||||
echo ""
|
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
|
if bash "$SCRIPT_DIR/test-comprehensive.sh"; then
|
||||||
log_success "Comprehensive Test Suite PASSED"
|
log_success "Comprehensive Test Suite PASSED"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user