Skip to content

Commit 9cecc0c

Browse files
Wait for promOperator CRD to be created when dpeloying Zenko
1 parent 11a5c9b commit 9cecc0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/end2end/install-kind-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
7272
# so if apply fails, replace can work
7373
prom_url=https://raw.githubusercontent.com/coreos/prometheus-operator/${PROMETHEUS_VERSION}/bundle.yaml
7474
kubectl create -f $prom_url || kubectl replace -f $prom_url --wait
75+
# wait for the resource to exist
76+
kubectl wait --for=condition=established --timeout=10m crd/alertmanagers.monitoring.coreos.com
7577
envsubst < configs/prometheus.yaml | kubectl apply -f -
7678

7779
# zookeeper

0 commit comments

Comments
 (0)