Allow configuring rule syntax with Kubernetes Ingress annotation
This commit is contained in:
parent
8d9ff0c441
commit
ad613e58cd
7 changed files with 30 additions and 1 deletions
|
@ -760,6 +760,7 @@ func loadRouter(rule netv1.IngressRule, pa netv1.HTTPIngressPath, rtConfig *Rout
|
|||
}
|
||||
|
||||
if rtConfig != nil && rtConfig.Router != nil {
|
||||
rt.RuleSyntax = rtConfig.Router.RuleSyntax
|
||||
rt.Priority = rtConfig.Router.Priority
|
||||
rt.EntryPoints = rtConfig.Router.EntryPoints
|
||||
rt.Middlewares = rtConfig.Router.Middlewares
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue