Enhanced flexibility in Consul Catalog configuration
This commit is contained in:
parent
9c27a98821
commit
7d6c778211
6 changed files with 242 additions and 20 deletions
|
@ -857,6 +857,21 @@
|
|||
#
|
||||
# prefix = "traefik"
|
||||
|
||||
# Default frontEnd Rule for Consul services
|
||||
# - The format is a Go Template with ".ServiceName", ".Domain" and ".Attributes" available
|
||||
# -- "getTag(name, tags, defaultValue)", "hasTag(name, tags)" and "getAttribute(name, tags, defaultValue)" functions are available
|
||||
# --- "getAttribute(...)" function uses prefixed tag names based on "prefix" value
|
||||
#
|
||||
# Optional
|
||||
#
|
||||
#frontEndRule = "Host:{{.ServiceName}}.{{Domain}}"
|
||||
|
||||
# Should use all Consul catalog tags for constraint filtering
|
||||
#
|
||||
# Optional
|
||||
#
|
||||
#allTagsConstraintFiltering = false
|
||||
|
||||
# Constraints
|
||||
#
|
||||
# Optional
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue