Skip to content

Commit 377f3e3

Browse files
authored
🐛 Set OLM version to 0.28.0 for release branches (#390)
Signed-off-by: Maayan Hadasi <[email protected]>
1 parent 5d9967c commit 377f3e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/install-tackle.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ANALYZER_CONTAINER_REQUESTS_MEMORY="${ANALYZER_CONTAINER_REQUESTS_MEMORY:-0}"
2929
ANALYZER_CONTAINER_REQUESTS_CPU="${ANALYZER_CONTAINER_REQUESTS_CPU:-0}"
3030
FEATURE_AUTH_REQUIRED="${FEATURE_AUTH_REQUIRED:-false}"
3131
TIMEOUT="${TIMEOUT:-15m}"
32+
OLM_VERSION="${OLM_VERSION:-0.28.0}"
3233

3334
if ! command -v kubectl >/dev/null 2>&1; then
3435
kubectl_bin="${__bin_dir}/kubectl"
@@ -96,7 +97,7 @@ install_operator() {
9697
|| kubectl get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out
9798
}
9899

99-
kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install
100+
kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install --version ${OLM_VERSION}
100101
olm_namespace=$(kubectl get clusterserviceversions.operators.coreos.com --all-namespaces | grep packageserver | awk '{print $1}')
101102
kubectl rollout status -w deployment/olm-operator --namespace="${olm_namespace}"
102103
kubectl rollout status -w deployment/catalog-operator --namespace="${olm_namespace}"

0 commit comments

Comments
 (0)