Skip to content

Commit 4bed5e1

Browse files
committed
e2e: wait knative using E2E_TIMEOUT
1 parent 05ed2f4 commit 4bed5e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

stackgres-k8s/e2e/utils/knative

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ install_knative() {
7474
--type merge \
7575
--patch '{"data":{"127.0.0.1.sslip.io":""}}'
7676

77-
kubectl wait -n "$(knative_namespace)" deployment/activator --for condition=Available
78-
kubectl wait -n "$(knative_namespace)" deployment/autoscaler --for condition=Available
79-
kubectl wait -n "$(knative_namespace)" deployment/controller --for condition=Available
80-
kubectl wait -n "$(knative_namespace)" deployment/webhook --for condition=Available
81-
kubectl wait -n "$(knative_namespace)" deployment/net-kourier-controller --for condition=Available
77+
kubectl wait --timeout="${E2E_TIMEOUT}s" -n "$(knative_namespace)" deployment/activator --for condition=Available
78+
kubectl wait --timeout="${E2E_TIMEOUT}s" -n "$(knative_namespace)" deployment/autoscaler --for condition=Available
79+
kubectl wait --timeout="${E2E_TIMEOUT}s" -n "$(knative_namespace)" deployment/controller --for condition=Available
80+
kubectl wait --timeout="${E2E_TIMEOUT}s" -n "$(knative_namespace)" deployment/webhook --for condition=Available
81+
kubectl wait --timeout="${E2E_TIMEOUT}s" -n "$(knative_namespace)" deployment/net-kourier-controller --for condition=Available
8282
wait_until eval 'kubectl get crd -o name | grep -cF .knative. | grep -q 12'
8383
}

0 commit comments

Comments
 (0)