From 0be3021eebdb79c7c09b1c5478bf0f606f741689 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Tue, 5 Oct 2021 12:40:50 +0200 Subject: [PATCH] Do not use Service Binding Operator (#5113) * Do not use SBR anymore * Do not install SBO in cluster * Do not check for SBO from integration tests * Disable tests about SBO --- pkg/kclient/operators.go | 4 +- .../common/setup-operators.sh | 50 +------------------ tests/integration/cmd_link_unlink_test.go | 2 +- .../integration/operatorhub/cmd_link_test.go | 6 ++- .../operatorhub/cmd_service_test.go | 3 -- 5 files changed, 9 insertions(+), 56 deletions(-) diff --git a/pkg/kclient/operators.go b/pkg/kclient/operators.go index a0f9ac54052..f520e6e843e 100644 --- a/pkg/kclient/operators.go +++ b/pkg/kclient/operators.go @@ -25,7 +25,9 @@ const ( // IsServiceBindingSupported checks if resource of type service binding request present on the cluster func (c *Client) IsServiceBindingSupported() (bool, error) { - return c.IsResourceSupported("binding.operators.coreos.com", "v1alpha1", "servicebindings") + // Detection of SBO has been removed from issue https://github.com/openshift/odo/issues/5084 + return false, nil + // return c.IsResourceSupported("binding.operators.coreos.com", "v1alpha1", "servicebindings") } // IsCSVSupported checks if resource of type service binding request present on the cluster diff --git a/scripts/configure-cluster/common/setup-operators.sh b/scripts/configure-cluster/common/setup-operators.sh index 6d86af600e5..0aa981742ba 100755 --- a/scripts/configure-cluster/common/setup-operators.sh +++ b/scripts/configure-cluster/common/setup-operators.sh @@ -1,9 +1,6 @@ #!/bin/bash set -x -export SBO_CATALOG_SOURCE="redhat-operators" -export SBO_SUBSCRIPTION_NAME="rh-service-binding-operator" - install_redis_operator(){ $1 create -f - <