Skip to content

Allow for watching of multiple paths in Consul KV  #9501

@benvanstaveren

Description

@benvanstaveren

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?

Currently we store Traefik's dynamic configuration in Consul KV - this is fine when all Traefik instances share a configuration, but gets progressively more complicated when they don't. It leads to duplicating an entire configuration into a separate path, and making 1 or 2 changes.

It would be nice if we can specify the root path as an array/list of paths, from lowest to highest priority. For instance by setting:

providers:
  consulCatalog:
    prefix: 
    - traefik/common
    - traefik/specificinstance

Where the configuration is first retrieved from "traefik/common/" and then from "traefik/specificinstance/" with the latter's data overwriting the former. This allows for a bit more flexibility, in my opinion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions