Skip to content

Building the installer locally doesn't work with MIRROR_IMAGES #880

@cybertron

Description

@cybertron

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions