I have numerous entrypoints (tcp, udp and https(s)) and services from consul catalog routed via tags, all working fine.
Now I have a service in Consul that is provided by a vendored software, where I have no control over the tag values. In this case, it is a database service where each instance has either the tag active or replica. I'd like to have a TCP router for a specific entrypoint to this service.
Without any traefik-specific tags on the service, Traefik automatically creates HTTP services and routers. Can I override thisspecific service via static configuration (or COnsul KV) in any way? The "labels" mentioned in https://docs.traefik.io/reference/dynamic-configuration/consul-catalog/ seem to be ignored when specified in the configuration file and only picked up via tags on the Consul services.
Is there any way I can do what I want, or do I need to spin up a secondary traefik instance only for this use-case?
That's pretty much what I'm trying to achieve actually, but after quite a bit of trial and error I still can't get Traefik to recognize my Consul service through the file provider - it's still gets designated as HTTP
I just ended up solving this for myself by forking the software producing the service and hardcoding the traefik tags there - but I'm sure this is not an all-to-uncommon use-case for others.