Skip to content

Commit

Permalink
Merge pull request #436 from vprashar2929/fix-olm-v
Browse files Browse the repository at this point in the history
fix: specify olm version
  • Loading branch information
sthaha authored Oct 28, 2024
2 parents 33af5c3 + 5a9f892 commit 763ad69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ declare -r CLUSTER_PROVIDER=${CLUSTER_PROVIDER:-kind}
declare -r GRAFANA_ENABLE=${GRAFANA_ENABLE:-true}
declare -r KIND_WORKER_NODES=${KIND_WORKER_NODES:-2}
declare -r CERTMANAGER_VERSION=${CERT_MANAGER_VERSION:-1.15.0}
declare -r OLM_VERSION=${OLM_VERSION:-v0.28.0}

# constants
PROJECT_ROOT="$(git rev-parse --show-toplevel)"
Expand Down Expand Up @@ -77,7 +78,7 @@ cluster_prereqs() {
return 0
}
info "setup OLM"
operator-sdk olm install --verbose --timeout 5m
operator-sdk olm install --version "$OLM_VERSION" --verbose --timeout 5m

info "Ensure openshift namespace for dashboard exists"
run kubectl create namespace openshift-config-managed
Expand Down

0 comments on commit 763ad69

Please sign in to comment.