Fixes #501: prioritize kube.endpoint passed via cli

This commit is contained in:
Parham Negahdar 2016-07-11 15:39:20 -04:00
parent 8f8f72fa76
commit 40c0ed092e
2 changed files with 9 additions and 2 deletions

View file

@ -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{