Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
test: workaround operator-sdk image pinning
Browse files Browse the repository at this point in the history
"operator-sdk run" pulls the latest version of certain images, which started to
break after an quay.io/operator-framework/opm update. Pinning to a known
version in our invocation is a workaround for that
bug (operator-framework/operator-registry#984).
  • Loading branch information
pohly committed Aug 4, 2022
1 parent 7755299 commit 9b69124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/start-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ function deploy_using_olm() {
fi

# Deploy the operator
# Pinning the image is a workaround for https://github.com/operator-framework/operator-registry/issues/984.
${BINDIR}/operator-sdk run bundle${upgrade} ${NAMESPACE} --timeout 5m ${TEST_LOCAL_REGISTRY}/pmem-csi-bundle:v${BUNDLE_VERSION} \
--index-image=quay.io/operator-framework/opm:v1.23.0 \
$(if ${TEST_LOCAL_REGISTRY_SKIP_TLS}; then echo '--skip-tls'; fi)
}

Expand Down

0 comments on commit 9b69124

Please sign in to comment.