Use KvStores as global config source
This commit is contained in:
parent
9be0c67d5c
commit
056e0fe2d9
15 changed files with 330 additions and 26 deletions
|
@ -13,8 +13,8 @@ import (
|
|||
|
||||
// TraefikConfiguration holds GlobalConfiguration and other stuff
|
||||
type TraefikConfiguration struct {
|
||||
GlobalConfiguration
|
||||
ConfigFile string `short:"c" description:"Configuration file to use (TOML)."`
|
||||
GlobalConfiguration `mapstructure:",squash"`
|
||||
ConfigFile string `short:"c" description:"Configuration file to use (TOML)."`
|
||||
}
|
||||
|
||||
// GlobalConfiguration holds global configuration (with providers, etc.).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue