Hi, I am using the Consul Catalog as a provider and I would like to change the default rule.
From the docs I can see that the default rule is
Host(`{{ normalize .Name }}`)
and has a note that says
The service name can be accessed with the
Name
identifier, and the template has access to all the labels (i.e. tags beginning with theprefix
) defined on this service.
I was wondering, can I also query the Consul domain name so the format would be service.consuldomain.tld
? I would rather not hardcode the Consul domain in the proxy configuration since I want to template this for other implementations as well.