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>
Signed-off-by: Cherry Picker <noreply@github.com>
  • Loading branch information
dymurray authored and web-flow committed Oct 28, 2024
1 parent d5ddc2c commit a5a71ee
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 @@ -8,6 +8,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 @@ -91,7 +92,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 a5a71ee

Please sign in to comment.