kubernetes: normalize middleware names in ingress route config
This commit is contained in:
parent
5d716f0149
commit
25e12aee14
6 changed files with 163 additions and 3 deletions
|
@ -183,7 +183,7 @@ func (p *Provider) makeMiddlewareKeys(ctx context.Context, ingRouteNamespace str
|
|||
ns = mi.Namespace
|
||||
}
|
||||
|
||||
mds = append(mds, makeID(ns, name))
|
||||
mds = append(mds, provider.Normalize(makeID(ns, name)))
|
||||
}
|
||||
|
||||
return mds, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue