forked from Ivasoft/traefik
Add KV store providers (dynamic configuration only)
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
committed by
Traefiker Bot
parent
028683666d
commit
9b9f4be6a4
@@ -53,6 +53,22 @@ func NewProviderAggregator(conf static.Providers) ProviderAggregator {
|
||||
p.quietAddProvider(conf.ConsulCatalog)
|
||||
}
|
||||
|
||||
if conf.Consul != nil {
|
||||
p.quietAddProvider(conf.Consul)
|
||||
}
|
||||
|
||||
if conf.Etcd != nil {
|
||||
p.quietAddProvider(conf.Etcd)
|
||||
}
|
||||
|
||||
if conf.ZooKeeper != nil {
|
||||
p.quietAddProvider(conf.ZooKeeper)
|
||||
}
|
||||
|
||||
if conf.Redis != nil {
|
||||
p.quietAddProvider(conf.Redis)
|
||||
}
|
||||
|
||||
return p
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user