Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.

Commit d8582a9

Browse files
committed
Use latest OLM for now
Things break weirdly for older versions. Not recommended on OS 4 right now.
1 parent 9ec2531 commit d8582a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/scripts/installation-functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ function install_olm {
173173
mkdir -p "$REPO_DIR"
174174
rm -rf "$OLM_DIR"
175175
git clone https://github.com/operator-framework/operator-lifecycle-manager "$OLM_DIR"
176-
pushd $OLM_DIR; git checkout f474ec872ca7b1dd; popd
176+
# pushd $OLM_DIR; git checkout f474ec872ca7b1dd; popd
177177

178-
# sed -i "s|quay.io/coreos/olm@sha256:995a181839f301585a0e115c083619b6d73812c58a8444d7b13b8e407010325f|quay.io/openshift/origin-operator-lifecycle-manager|g" $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_06-olm-operator.deployment.yaml $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_07-catalog-operator.deployment.yaml $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_10-olm-operators.configmap.yaml
178+
sed -i "s|quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc|quay.io/openshift/origin-operator-lifecycle-manager|g" $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_06-olm-operator.deployment.yaml $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_07-catalog-operator.deployment.yaml $OLM_DIR/deploy/upstream/manifests/latest/0000_50_olm_10-olm-operators.configmap.yaml
179179

180180
for i in "$OLM_DIR"/deploy/upstream/manifests/latest/*.crd.yaml; do $CMD apply -f $i; done
181181
for i in $(find "$OLM_DIR/deploy/upstream/manifests/latest/" -type f ! -name "*crd.yaml" | sort); do $CMD create -f $i; done

0 commit comments

Comments
 (0)