Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

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

@panpan0000

Description

@panpan0000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions