squakez commented on code in PR #5403:
URL: https://github.com/apache/camel-k/pull/5403#discussion_r1592250011


##########
pkg/cmd/install.go:
##########
@@ -594,6 +595,14 @@ func (o *installCmdOptions) setupIntegrationPlatform(c 
client.Client, namespace
                        }
                }
        }
+
+       if platform.Status.Build.BuildConfiguration.ImagePlatforms == nil {

Review Comment:
   This must not happen at installation time but at operator runtime. This 
installation would only cover CLI based installation (which is going to 
disappear). Beside that, the execution of the `runtime.GOARCH` would be 
evaluated on the CLI machine, not on the cluster machine. This logic belong to 
https://github.com/apache/camel-k/blob/main/pkg/platform/defaults.go



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to