Skip to content
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

Support registry to registry direct relocation #28

Closed
2 tasks done
ewrenn8 opened this issue May 14, 2020 · 1 comment
Closed
2 tasks done

Support registry to registry direct relocation #28

ewrenn8 opened this issue May 14, 2020 · 1 comment
Labels
enhancement This issue is a feature request in progress Work has begun by a community member or a maintainer; this issue may be included in a future release

Comments

@ewrenn8
Copy link
Contributor

ewrenn8 commented May 14, 2020

  • Introduce a command kbld relocate -f install.yml --repository my.internal.reg that will skip writing the image layers to disk and will stream them directly to the new repository.

  • kbld relocate supports the --lock-output flag to maintain a mapping from manifest image locations to current image locations. See packaging docs for more details on the workflow

# new lock file containes manifest images => digest references in new repo
kbld relocate -f images.lock --repository <dst registry> --lock-output relocated-images.lock
kbld relocate -f images.lock -r <dst registry> --lock-output relocated-images.lock 
@cppforlife cppforlife added the enhancement This issue is a feature request label May 15, 2020
@ewrenn8 ewrenn8 added the in progress Work has begun by a community member or a maintainer; this issue may be included in a future release label May 21, 2020
@cppforlife
Copy link
Contributor

https://github.com/k14s/kbld/releases/tag/v0.23.0 includes this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is a feature request in progress Work has begun by a community member or a maintainer; this issue may be included in a future release
Projects
None yet
Development

No branches or pull requests

2 participants