We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7a525 commit 30274a3Copy full SHA for 30274a3
k8s-tests/chainsaw/helm/helm-webhook-test/chainsaw-test.yaml
@@ -33,6 +33,23 @@ spec:
33
../install-helm-chart.sh webhooks
34
- assert:
35
file: assert-scheduled.yaml
36
+ - script:
37
+ content: |
38
+ ## Wait for webhook to be ready (K8s 1.34 needs extra time)
39
+ echo "Waiting for webhook to be callable..."
40
+ i=1
41
+ while [ $i -le 60 ]; do
42
+ if kubectl apply -f invalid-skyhook.yaml 2>&1 | grep -q "admission webhook"; then
43
+ echo "✓ Webhook is ready"
44
+ break
45
+ fi
46
+ if [ $i -eq 60 ]; then
47
+ echo "ERROR: Webhook did not become ready in 60 seconds"
48
+ exit 1
49
50
+ sleep 1
51
+ i=$((i + 1))
52
+ done
53
- script:
54
content: |
55
## Create invalid skyhook
0 commit comments