-
Deploy a OpenShift Cluster and make sure it is stable.
-
Get the clusterversion:
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.0.0-0.alpha-2019-01-29-032610 True False 23h Cluster version is 4.0.0-0.alpha-2019-01-29-032610
- Visit https://origin-release.svc.ci.openshift.org/ and ensure that the image with the VERSION_TAG from the previous step still exists. If the image exists, you can pull the image from:
registry.svc.ci.openshift.org/openshift/origin-release:{VERSION_TAG}
- Pull the image to your local repository and retag it:
$ docker pull registry.svc.ci.openshift.org/openshift/origin-release:4.0.0-0.alpha-2019-01-29-032610
$ docker tag registry.svc.ci.openshift.org/openshift/origin-release:4.0.0-0.alpha-2019-01-29-032610 quay.io/agreene/stable-openshift
$ docker push quay.io/agreene/stable-openshift
- Update local environment variables so the installer uses your image
$ export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=quay.io/agreene/stable-openshift
$ export _OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=quay.io/agreene/stable-openshift
- Run the installer again and deploy your tagged image.