Skip to content

Commit

Permalink
🐛 Pin OLM to 0.28.0 (#388)
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Murray <dymurray@redhat.com>
  • Loading branch information
dymurray authored Oct 28, 2024
1 parent 181b4da commit 8735acd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/install-konveyor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ NAMESPACE="${NAMESPACE:-konveyor-tackle}"
OPERATOR_BUNDLE_IMAGE="${OPERATOR_BUNDLE_IMAGE:-quay.io/konveyor/tackle2-operator-bundle:latest}"
TACKLE_CR="${TACKLE_CR:-}"
TIMEOUT="${TIMEOUT:-15m}"
OLM_VERSION="${OLM_VERSION:-0.28.0}"

if ! command -v kubectl >/dev/null 2>&1; then
echo "Please install kubectl. See https://kubernetes.io/docs/tasks/tools/"
Expand Down Expand Up @@ -114,7 +115,7 @@ EOF
kubectl get deployments.apps -n "${NAMESPACE}" -o yaml
}

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}"
Expand Down

0 comments on commit 8735acd

Please sign in to comment.