Ability to use specific platform when generating ImagesLock #198
Labels
carvel accepted
This issue should be considered for future work and that the triage process has been completed
enhancement
This issue is a feature request
Describe the problem/challenge you have
kbld is often used to generate lockfiles that are passed to imgpkg to generate a bundle. When such a lockfile contains a multi-platform image index, the resulting imgpkg bundle will include all images in the index. This is great if you need to distribute the bundle to a lot of different platforms, but if you know the exact platform you're targeting then including all those other platform images in the bundle wastes a lot of space (Windows images in particular can be very large).
Describe the solution you'd like
kbld should be able to replace index references with specific images based on the desired platform (OS, architecture). That way, imgpkg won't bundle up unwanted images.
Anything else you would like to add:
Discussed in https://kubernetes.slack.com/archives/CH8KCCKA5/p1639157591175300
Questions:
--force-arch=X --force-platform=Y
)kind: Config
origins:
include the platform/architecture supplied by the user? (more generally, should we include the total command-line used?)Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: