Fix rule syntax version for all internal routers

This commit is contained in:
HalloTschuess 2024-05-15 10:46:04 +02:00 committed by GitHub
parent 5f2c00b438
commit d65de8fe6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 60 additions and 15 deletions

View file

@ -277,9 +277,10 @@ func (p *Provider) loadConfigurationFromIngresses(ctx context.Context, client Cl
}
rt := &dynamic.Router{
Rule: "PathPrefix(`/`)",
Priority: math.MinInt32,
Service: "default-backend",
Rule: "PathPrefix(`/`)",
RuleSyntax: "v3",
Priority: math.MinInt32,
Service: "default-backend",
}
if rtConfig != nil && rtConfig.Router != nil {