From 631afa166b8d729eed597ec15027b17ce3bde919 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..5ba8336 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 --timeout=600s --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..63b645a 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 --timeout=600s --for=condition=established customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com kubectl get customresourcedefinitions.apiextensions.k8s.io tackles.tackle.konveyor.io || install_operator