Skip to content

Commit

Permalink
Wait for promOperator CRD to be created when dpeloying Zenko
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Aug 30, 2024
1 parent 11a5c9b commit 9cecc0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/end2end/install-kind-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
# so if apply fails, replace can work
prom_url=https://raw.githubusercontent.com/coreos/prometheus-operator/${PROMETHEUS_VERSION}/bundle.yaml
kubectl create -f $prom_url || kubectl replace -f $prom_url --wait
# wait for the resource to exist
kubectl wait --for=condition=established --timeout=10m crd/alertmanagers.monitoring.coreos.com
envsubst < configs/prometheus.yaml | kubectl apply -f -

# zookeeper
Expand Down

0 comments on commit 9cecc0c

Please sign in to comment.