diff --git a/provider/kubernetes/kubernetes_test.go b/provider/kubernetes/kubernetes_test.go index d3fe45d88..02ffa5405 100644 --- a/provider/kubernetes/kubernetes_test.go +++ b/provider/kubernetes/kubernetes_test.go @@ -337,10 +337,20 @@ func TestRuleType(t *testing.T) { frontendRuleType: ruleTypePathPrefix, }, { - desc: "rule type annotation set", + desc: "Path rule type annotation set", ingressRuleType: "Path", frontendRuleType: "Path", }, + { + desc: "PathStrip rule type annotation set", + ingressRuleType: "PathStrip", + frontendRuleType: "PathStrip", + }, + { + desc: "PathStripPrefix rule type annotation set", + ingressRuleType: "PathStripPrefix", + frontendRuleType: "PathStripPrefix", + }, } for _, test := range tests {