removes pulling and loading of registry api image in operator deploy task #2667
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was likely a leftover from when the registry API lived in this repository. At that time, it made sense to load the image into the kind node because it’s common to load locally built images into a kind cluster for testing. Now that the registry server lives in its own repository and the image is publicly available, the operator simply pulls it when creating the registry deployment inside the cluster. This means we no longer need to pull the image ourselves or load it into kind.
There were also complications with pulling and loading remote images. Docker only pulls images for the host architecture, while
kind load(by default) expects all platforms via--all-platforms. This mismatch causes errors because Docker never downloaded the multi-arch manifests that kind tries to load. We could instruct kind to load only the host platform, but since the image is public and no longer part of the local build process, that would be unnecessary.The operator and proxyrunner images loaded without issues because we build them with
ko, which produces multi-arch images by default, so kind can successfully load them.