update olm test version, change to rollout instead of wait
@@ -40,6 +40,7 @@ function create_catalog() {
echo "----> Creating CatalogSource ..."
# kubectl delete -n olm catalogsource operatorhubio-catalog
yq write deploy/olm/catalog-source.yaml spec.image $CATALOG_IMAGE | kubectl apply -f -
+ # yq eval ".spec.image = \"$CATALOG_IMAGE"\" deploy/olm/catalog-source.yaml
}
function create_subscription() {
@@ -62,7 +63,8 @@ function wait_for_operator() {
done
echo "----> Wait for operator to be ready ..."
- kubectl wait pod -l noobaa-operator=deployment --for condition=ready
+ # kubectl wait pod -l noobaa-operator=deployment --for condition=ready
+ kubectl rollout status deployment noobaa-operator
}
function test_operator() {
