Describe the bug
When MIRROR_IMAGES is in use and KNI_INSTALL_FROM_GIT=true is set, the installer ends up referencing a release that it can't access. This is because
|
export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="${OPENSHIFT_RELEASE_IMAGE}" |
explicitly sets the release image to the upstream release, but with mirroring we remove the upstream pull secret and only provide the one for the local registry.
To Reproduce
Set MIRROR_IMAGES=true and KNI_INSTALL_FROM_GIT=true before running dev-scripts. Do not include any LOCAL_IMAGE overrides as that further changes the behavior.
Expected/observed behavior
I expect the custom installer to use the local registry with the mirrored images. What is actually happening is that the installer tries to pull an upstream release image that it doesn't have credentials for.
Describe the bug
When MIRROR_IMAGES is in use and KNI_INSTALL_FROM_GIT=true is set, the installer ends up referencing a release that it can't access. This is because
dev-scripts/common.sh
Line 82 in 1536fde
To Reproduce
Set MIRROR_IMAGES=true and KNI_INSTALL_FROM_GIT=true before running dev-scripts. Do not include any LOCAL_IMAGE overrides as that further changes the behavior.
Expected/observed behavior
I expect the custom installer to use the local registry with the mirrored images. What is actually happening is that the installer tries to pull an upstream release image that it doesn't have credentials for.