From 1164003b8726842caa586b798d117df17f255134 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Mon, 10 Jul 2023 11:52:28 +0900 Subject: [PATCH] add jaeger operator wait duration Signed-off-by: hlts2 --- Makefile.d/k8s.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.d/k8s.mk b/Makefile.d/k8s.mk index f4766522411..5689224b1a2 100644 --- a/Makefile.d/k8s.mk +++ b/Makefile.d/k8s.mk @@ -13,6 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +JAEGER_OPERATOR_WAIT_DURATION := 0 + .PHONY: k8s/manifest/clean ## clean k8s manifests k8s/manifest/clean: @@ -227,7 +230,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 - kubectl wait --for=condition=available deployment/jaeger-jaeger-operator --timeout=60s + sleep $(JAEGER_OPERATOR_WAIT_DURATION) kubectl apply -f k8s/metrics/jaeger/jaeger.yaml .PHONY: k8s/metrics/jaeger/delete