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

Commit bbb0b32

Browse files
committed
Pin to latest OLM now that image refs were updated
1 parent 2eee186 commit bbb0b32

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

etc/scripts/installation-functions.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,8 @@ function install_olm {
177177
rm -rf "$OLM_DIR"
178178
git clone https://github.com/operator-framework/operator-lifecycle-manager "$OLM_DIR"
179179

180-
# When they update their images in the manifests, we should pin to
181-
# that sha and remove the sed's
182-
183-
# pushd $OLM_DIR; git checkout 9ba3512c; popd
184-
sed -i "s/v1alpha2/v1/g" $OLM_DIR/deploy/upstream/manifests/latest/*operatorgroup*
185-
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
180+
# pin to 0.9.0 (4.1?)
181+
pushd $OLM_DIR; git checkout eef76a28; popd
186182

187183
for i in "$OLM_DIR"/deploy/upstream/manifests/latest/*.crd.yaml; do $CMD apply -f $i; done
188184
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)