mirror of
https://github.com/traefik/traefik
synced 2026-02-03 12:20:33 +00:00
Remove support of the networking.k8s.io/v1beta1 APIVersion
This commit is contained in:
@@ -212,11 +212,9 @@ func (p *Provider) loadConfigurationFromIngresses(ctx context.Context, client Cl
|
||||
TCP: &dynamic.TCPConfiguration{},
|
||||
}
|
||||
|
||||
serverVersion := client.GetServerVersion()
|
||||
|
||||
var ingressClasses []*netv1.IngressClass
|
||||
|
||||
if !p.DisableIngressClassLookup && supportsIngressClass(serverVersion) {
|
||||
if !p.DisableIngressClassLookup {
|
||||
ics, err := client.GetIngressClasses()
|
||||
if err != nil {
|
||||
log.Ctx(ctx).Warn().Err(err).Msg("Failed to list ingress classes")
|
||||
|
||||
Reference in New Issue
Block a user