Skip to content

Commit

Permalink
OLM: run fixed version v0.18.3
Browse files Browse the repository at this point in the history
Locking to a specific version is good practice because it avoids unexpected
compatibility issues when a new version gets released. That seems to have
happened with OLM v0.19.0 which currently doesn't work for
us (intel#1050).

(cherry picked from commit 08505ea)
  • Loading branch information
pohly committed Nov 12, 2021
1 parent 85cc401 commit 9dc5826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/start-stop-olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CLUSTER=${CLUSTER:-pmem-govm}
CLUSTER_DIR="${CLUSTER_DIRECTORY:-${REPO_DIR}/_work/${CLUSTER}}"
SSH="${CLUSTER_DIR}/ssh.0"
KUBECTL="${SSH} kubectl" # Always use the kubectl installed in the cluster.
OLM_VERSION=v0.18.3

function usage() {
echo "Usage:"
Expand Down Expand Up @@ -62,7 +63,7 @@ if [ $cmd == install ]; then
# was successfull
set +e
echo "Installing OLM..."
if ! ${BIN_DIR}/operator-sdk olm install --verbose --timeout=5m 2>&1 ; then
if ! ${BIN_DIR}/operator-sdk olm install --version=${OLM_VERSION} --verbose --timeout=5m 2>&1 ; then
if ! ${BIN_DIR}/operator-sdk olm status 2>&1 ; then
echo "OLM installation failed!!!"
${KUBECTL} get all -n olm
Expand Down

0 comments on commit 9dc5826

Please sign in to comment.