Skip to content

Commit

Permalink
fix wait logic
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jul 7, 2023
1 parent a6d8701 commit 7383a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.d/k8s.mk
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ k8s/metrics/jaeger/deploy:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
helm install jaeger jaegertracing/jaeger-operator --version $(JAEGER_OPERATOR_VERSION)
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=jaeger-operator --timeout=60s
until kubectl run busybox --restart=Never --image=busybox --rm -it -- wget -q -S --spider "https://jaeger-operator-webhook-service.default.svc:443/mutate-jaegertracing-io-v1-jaeger"; do sleep 1; done
kubectl wait --for=condition=available deployment/jaeger-jaeger-operator --timeout=60s
kubectl apply -f k8s/metrics/jaeger/jaeger.yaml

.PHONY: k8s/metrics/jaeger/delete
Expand Down

0 comments on commit 7383a5d

Please sign in to comment.