Hello,
im trying to deploy an app with a sidecar proxy pulled from private registry. I found out that there is a way to configure sidecar_task in config stanza to point to specific docker image.
connect {
sidecar_service {}
sidecar_task {
config {
image = "..../envoy"
}
}
After this configuration nomad was still trying to pull the image of that envoy from the default registry. Then i found there is an another option to set client meta stanza on client agents to define default connect.sidecar.image:
client {
meta {
"connect.sidecar_image" = "xxxxxxx/library/envoy"
"connect.gateway_image" = "xxxxxxxx/library/envoy"
}
}
But even after this change, nomad was still trying to pull that envoy image from the public default docker registry, which is blocked in corp. network.
Is there any solution for this strange behavior?
Thank you