From 347379aa376a5bf49f8cbe318557425b43fee222 Mon Sep 17 00:00:00 2001 From: David Zager Date: Thu, 18 Jul 2024 11:18:29 -0400 Subject: [PATCH] :seedling: wait for olm Signed-off-by: David Zager --- hack/install-konveyor.sh | 1 + hack/install-tackle.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/hack/install-konveyor.sh b/hack/install-konveyor.sh index 671e7ec..e54dcf8 100755 --- a/hack/install-konveyor.sh +++ b/hack/install-konveyor.sh @@ -92,5 +92,6 @@ EOF } kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install +kubectl wait --for=condition=established customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com kubectl get customresourcedefinitions.apiextensions.k8s.io tackles.tackle.konveyor.io || run_bundle install_tackle diff --git a/hack/install-tackle.sh b/hack/install-tackle.sh index b28d75f..a82e363 100755 --- a/hack/install-tackle.sh +++ b/hack/install-tackle.sh @@ -55,6 +55,7 @@ install_operator() { } kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install +kubectl wait --for=condition=established customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com kubectl get customresourcedefinitions.apiextensions.k8s.io tackles.tackle.konveyor.io || install_operator