Specify the target os/arch for build and deploy
/kind feature
Which functionality do you think we should add?
When building and deploying images with odo there should be a way to specify the target os/arch similar to the --platform option for podman build.
Why is this needed?
It should be possible to build and deploy from arm64 local systems (like Mac M1) to Kubernetes clusters that do not have the corresponding arch.
Grooming call (2022-10-06)
- Best option to add a flag
- Also applicable to
odo dev, because since #5832,odo devis able to run non-exec commands part of a compositerun/debugcommand; so this can includeapplycommands withimagecomponents. - Should be handled the same way as in #6200 and #6185
/close Duplicate of #6421
Feel free to reopen if you think otherwise.
@valaparthvi: Closing this issue.
In response to this:
/close Duplicate of #6421
Feel free to reopen if you think otherwise.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.