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

--to-intermediate-bundle will not retag the image's registry and repo-prefix in tar #158

Open
panpan0000 opened this issue Jul 11, 2022 · 0 comments

Comments

@panpan0000
Copy link

panpan0000 commented Jul 11, 2022

exmaple, Let's assume there's a docker.io/library/mysql:latest inside the chart my-release-0.7.7.tgz
Let's relocate images into a local tar (/tmp/a.tar)

relok8s chart move   --image-patterns image.hint --to-intermediate-bundle /tmp/a.tar  \
                --registry 10.20.34.5  --repo-prefix mygroup   my-release-0.7.7.tgz -y

unzip the /tmp/a.tar and docker load -i images.tar
the image remains docker.io/library/mysql:latest instead of 10.20.34.5/mygroup/mysql:latest as what I expected

@panpan0000 panpan0000 changed the title --to-intermediate-bundle will not retag the image's registry and repo-prefix --to-intermediate-bundle will not retag the image's registry and repo-prefix in tar Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@panpan0000 and others