Fixes #501: prioritize kube.endpoint passed via cli
This commit is contained in:
parent
8f8f72fa76
commit
40c0ed092e
2 changed files with 9 additions and 2 deletions
|
@ -272,7 +272,7 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
|
|||
//default Kubernetes
|
||||
var defaultKubernetes provider.Kubernetes
|
||||
defaultKubernetes.Watch = true
|
||||
defaultKubernetes.Endpoint = "http://127.0.0.1:8080"
|
||||
defaultKubernetes.Endpoint = ""
|
||||
defaultKubernetes.Constraints = []types.Constraint{}
|
||||
|
||||
defaultConfiguration := GlobalConfiguration{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue