vcluster icon indicating copy to clipboard operation
vcluster copied to clipboard

Change HostRewrite Image

Open zachaller opened this issue 4 years ago • 1 comments

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 avatar May 24 '21 20:05 zachaller

@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"]

FabianKramm avatar May 25 '21 09:05 FabianKramm

The question has been answered with no follow up questions - closing.

matskiv avatar Nov 02 '22 19:11 matskiv