Closed adavenpo closed 3 years ago
Thanks @adavenpo for catching this. I'll work to get a fix in soon.
@adavenpo v1.4.2 has been released to address this. Please let me know if this solves your issue.
Looks good, @phenixblue ! Thanks for the quick fix! :)
What happened: imageswap-maps was specified as:
Image was specified as:
rabbitmq:3.8.18-management
Image was replaced with:harbor-repo.vmware.com/dockerhub-proxy-cache
Logs:
What you expected to happen:
Image should have been:
harbor-repo.vmware.com/dockerhub-proxy-cache/rabbitmq:3.8.18-management
How to reproduce it (as minimally and precisely as possible): Clean kind cluster, above map:
Anything else we need to know?: It looks like
swap_image()
inimageswap.py
splits on / and then assumes that if there's a . in the first component, it's a registry. For a single-component (no /), this is incorrect...the . in this case is in the image tag, not part of a hostname.Environment: kind cluster:
kubectl version
):