Fix kubernetes path prefix rule with rewrite-target

This commit is contained in:
Kwok-kuen Cheung 2017-11-27 18:22:03 +08:00 committed by Traefiker
parent 419d46c958
commit 0f09551a76
2 changed files with 4 additions and 4 deletions

View file

@ -1728,7 +1728,7 @@ func TestIngressAnnotations(t *testing.T) {
PassHostHeader: true,
Routes: map[string]types.Route{
"/api": {
Rule: "ReplacePath:/",
Rule: "PathPrefix:/api;ReplacePath:/",
},
"rewrite": {
Rule: "Host:rewrite",