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

Commit 9b69124

Browse files
committed
test: workaround operator-sdk image pinning
"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).
1 parent 7755299 commit 9b69124

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/start-operator.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ function deploy_using_olm() {
9191
fi
9292

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

0 commit comments

Comments
 (0)