vcluster
vcluster copied to clipboard
Change HostRewrite Image
With docker hubs pull rate limits having a hard coded image tag becomes an issue on larger deployments where we constantly can not pull from docker hub such as https://github.com/loft-sh/vcluster/blob/main/pkg/controllers/resources/pods/translate.go#L31 having this be a configuruable field so that we can properly proxy the image I think makes sense.
@zachaller thanks for creating this issue! Thats actually possible right now already as you can use the following helm values:
syncer:
extraArgs: ["--override-hosts-container-image", "myregistry.com/namespace/alpine:3.13.1"]
Besides that vcluster supports rewriting any image via the flag --translate-image:
syncer:
extraArgs: ["--translate-image", "nginx=myregistry.com/namespace/nginx"]
The question has been answered with no follow up questions - closing.