tdiesler commented on PR #5403:
URL: https://github.com/apache/camel-k/pull/5403#issuecomment-2074063570
The idea is, that (if not explicitly configured otherwise) we build the
integration for the arch we run on. Building the integration for multiarch is a
different story (and breaking change), which we deferred until the next major
version.
A configuration variable which is set at operator install time would likely
not add relevant information to what we get from the Go runtime already, or
would it?
`if runtime.GOARCH == "arm64"` is just a variation of a `switch` that I head
earlier. When more archs become relevant we can expand the mapping. Currently
it is ...
```
switch runtime.GOARCH {
arm64: linux/arm64
default: linux/amd64
}
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]