diff --git a/hack/install-tackle.sh b/hack/install-tackle.sh index c8b4342..4de584c 100755 --- a/hack/install-tackle.sh +++ b/hack/install-tackle.sh @@ -29,6 +29,7 @@ ANALYZER_CONTAINER_REQUESTS_MEMORY="${ANALYZER_CONTAINER_REQUESTS_MEMORY:-0}" ANALYZER_CONTAINER_REQUESTS_CPU="${ANALYZER_CONTAINER_REQUESTS_CPU:-0}" FEATURE_AUTH_REQUIRED="${FEATURE_AUTH_REQUIRED:-false}" TIMEOUT="${TIMEOUT:-15m}" +OLM_VERSION="${OLM_VERSION:-0.28.0}" if ! command -v kubectl >/dev/null 2>&1; then kubectl_bin="${__bin_dir}/kubectl" @@ -96,7 +97,7 @@ install_operator() { || kubectl get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out } -kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install +kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install --version ${OLM_VERSION} olm_namespace=$(kubectl get clusterserviceversions.operators.coreos.com --all-namespaces | grep packageserver | awk '{print $1}') kubectl rollout status -w deployment/olm-operator --namespace="${olm_namespace}" kubectl rollout status -w deployment/catalog-operator --namespace="${olm_namespace}"