I have a setup with 4 DCs , 3 of which are on VMs and the fourth one is on a Kubernetes, I have them connected through mesh gateways.
Within my Kubernetes datacenter I have the injector up and running , each of my deployed pods have sidecars attached and services are registered to the catalog, I also enabled the syncCatalog flag in the Helm values.
But I noticed that this injector didn’t register a “service-resolver” and therefore are not reachable by default when I map an upstream from my other DCs.
I also noticed that there is no option within the Helm chart to enforce the writing of “service-resolver” configs.
I managed to reach those services from my VM DCs by adding the following :
kind = "service-resolver"
name = "apache"
service = "apache"
datacenter = "dc4"
But its not really convenient to have to add those manually.
Is there an easy way to automate this? Is there a flag somewhere in the documentation that I missed ?