From eb0b04d17219338e988dd085346699323ae239fc Mon Sep 17 00:00:00 2001 From: Moritz Clasmeier Date: Mon, 16 Feb 2026 13:30:56 +0100 Subject: [PATCH] Force arch for pulling bundle --- internal/deployer/operator.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/deployer/operator.go b/internal/deployer/operator.go index fe2900ff..42a49978 100644 --- a/internal/deployer/operator.go +++ b/internal/deployer/operator.go @@ -80,7 +80,11 @@ func (d *Deployer) downloadAndExtractOperatorBundle(ctx context.Context, bundleI if err := inspectCmd.Run(); err != nil { // Image doesn't exist locally, pull it d.logger.Info("Pulling operator bundle image...") - pullCmd := exec.CommandContext(ctx, containerTool, "pull", bundleImage) + // Force amd64 platform for pulling the operator bundle image. + // This is + // 1. fine because bundle images only contain platform-agnostic YAML files and + // 2. required to pull the image after the recent changes to the operator bundle image build process. + pullCmd := exec.CommandContext(ctx, containerTool, "pull", "--platform", "linux/amd64", bundleImage) if output, err := pullCmd.CombinedOutput(); err != nil { os.RemoveAll(bundleDir) d.logger.Dim("Command output:")