asset-relocation-tool-for-kubernetes
asset-relocation-tool-for-kubernetes copied to clipboard
`--to-intermediate-bundle` will not retag the image's registry and repo-prefix in tar
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