diff --git a/cp3pt0-deployment/common/utils.sh b/cp3pt0-deployment/common/utils.sh index 579e34a47..3d24e4bf7 100644 --- a/cp3pt0-deployment/common/utils.sh +++ b/cp3pt0-deployment/common/utils.sh @@ -629,7 +629,7 @@ function validate_operator_catalogsource(){ error "Multiple CatalogSource are available for $pm in $operator_ns namespace, please specify the correct CatalogSource name and namespace" elif [[ $return_value -eq 2 ]]; then warning "CatalogSource $source from $source_ns CatalogSourceNamespace is not available for $pm in $operator_ns namespace" - error "No CatalogSource is available for $pm in $operator_ns namespace" + error "No CatalogSource is available for $pm in $operator_ns namespace in the given channel $channel" elif [[ $return_value -eq 3 ]]; then warning "CatalogSource $source from $source_ns CatalogSourceNamespace is not available for $pm in $operator_ns namespace" success "CatalogSource $correct_source from $correct_source_ns CatalogSourceNamespace is available for $pm in $operator_ns namespace" diff --git a/cp3pt0-deployment/setup_singleton.sh b/cp3pt0-deployment/setup_singleton.sh index 0ca4b640e..9d09a7830 100755 --- a/cp3pt0-deployment/setup_singleton.sh +++ b/cp3pt0-deployment/setup_singleton.sh @@ -564,8 +564,9 @@ function verify_cert_manager(){ if [[ $webhook_deployments != "1" ]]; then error "More than one cert-manager-webhook deployment exists on the cluster." fi - - cm_smoke_test "test-issuer" "test-certificate" "test-certificate-secret" $CERT_MANAGER_NAMESPACE + local webhook_ns=$("$OC" get deployments -A | grep cert-manager-webhook | cut -d ' ' -f1) + + cm_smoke_test "test-issuer" "test-certificate" "test-certificate-secret" $webhook_ns success "Cert manager is ready." }