asset-relocation-tool-for-kubernetes icon indicating copy to clipboard operation
asset-relocation-tool-for-kubernetes copied to clipboard

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

Open panpan0000 opened this issue 2 years ago • 0 comments

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 avatar Jul 11 '22 10:07 panpan0000