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

Commit 57c1ace

Browse files
authored
Merge pull request #1083 from pohly/run-bundle-image-version
test: only use --index-image for "run bundle"
2 parents 8deb1ed + aec5657 commit 57c1ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/start-operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function deploy_using_olm() {
9393
# Deploy the operator
9494
# Pinning the image is a workaround for https://github.com/operator-framework/operator-registry/issues/984.
9595
${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 \
96+
$(if ! [ "${upgrade}" ]; then echo '--index-image=quay.io/operator-framework/opm:v1.23.0'; fi) \
9797
$(if ${TEST_LOCAL_REGISTRY_SKIP_TLS}; then echo '--skip-tls'; fi)
9898
}
9999

0 commit comments

Comments
 (0)