Replace PathPrefixStrip by PathPrefix in k8s

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-05-05 19:57:35 +02:00
parent be209ed30c
commit d89279d708
No known key found for this signature in database
GPG key ID: D808B4C167352E59
2 changed files with 6 additions and 6 deletions

View file

@ -166,7 +166,7 @@ func (provider *Kubernetes) loadIngresses(k8sClient k8s.Client) (*types.Configur
}
if len(pa.Path) > 0 {
templateObjects.Frontends[r.Host+pa.Path].Routes[pa.Path] = types.Route{
Rule: "PathPrefixStrip:" + pa.Path,
Rule: "PathPrefix:" + pa.Path,
}
}
services, err := k8sClient.GetServices(func(service k8s.Service) bool {