Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion internal/deployer/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Comment thread
mclasmeier marked this conversation as resolved.
if output, err := pullCmd.CombinedOutput(); err != nil {
os.RemoveAll(bundleDir)
d.logger.Dim("Command output:")
Expand Down