-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --include-non-distributable
flag to imgpkg copy
#8
Comments
This is a rather critical feature for our users on Windows. Pulling in for this upcoming release. |
--include-foreign-layers
flag to imgpkg copy--include-non-distributable
flag to imgpkg copy
Consolidating #71 into this issue. StoryAs a operator wishing to collect a bundle that includes software that includes non-distributable bits (e.g. Windows-based products) for use in an air-gapped scenario ContextOriginal GitHub Issue: imgpkg#8 Requested by the .NET Build team (Malini Valliath, PM) multiple times since this summer. PCS/MAPBU leadership has pointed to the importance of servicing our Windows-using customers — Ajay pointed out the importance of Windows support during an all-hands meeting, noting that a significant percentage of our customers use Windows. Acceptance CriteriaNote: we say, "foreign layers", here. We wish for all this to be true for any non-distributable layer. 🟢 Copying foreign layers to a tarballGiven a bundle which includes a reference to an image containing a foreign layer (e.g. a bundle that references Microsoft's nanoserver —
Then the tarball includes the contents of the layer 🟢 Copying a tarball containing one or more foreign layers to a registryGiven a tarball containing a bundle which includes one or more foreign layers
Then I can find that bundle in the registry AND its digest has not changed 🟡 Warn when foreign layer from registry is skippedGiven a bundle which includes a reference to an image containing a non-distributable layer (e.g. a foreign layer)
Then I see a warning next to each non-distributable layer that indicates "skipped: foreign layer" or "skipped: non-distributable" (depending on the exact media type), similar to how Docker does it 🟡 Warn when foreign layer from tarball is skippedGiven a tarball containing a bundle which includes one or more foreign layers
Then I see a warning next to each non-distributable layer that indicates "skipped: foreign layer" or "skipped: non-distributable" (depending on the exact media type), similar to how Docker does it 📚 DocumentationGiven I want to know more about how
Implementation Notes
Helpful Resources/Notes
|
Task list:
|
This was released in v0.4.0. |
Imgpkg should support a flag to allow the user to relocate images with foreign layers to airgapped envs.
Slack thread for some discussion: https://kubernetes.slack.com/archives/CH8KCCKA5/p1598013615011900
The text was updated successfully, but these errors were encountered: