1
0
Fork 0

Deprecate Kubernetes Ingress NGINX provider experimental flag

This commit is contained in:
Romain 2025-11-18 16:56:04 +01:00 committed by GitHub
parent ade2306a60
commit e0d9b060cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 46 additions and 13 deletions

View file

@ -424,10 +424,6 @@ func (c *Configuration) ValidateConfiguration() error {
}
if c.Providers != nil && c.Providers.KubernetesIngressNGINX != nil {
if c.Experimental == nil || !c.Experimental.KubernetesIngressNGINX {
return errors.New("the experimental KubernetesIngressNGINX feature must be enabled to use the KubernetesIngressNGINX provider")
}
if c.Providers.KubernetesIngressNGINX.WatchNamespace != "" && c.Providers.KubernetesIngressNGINX.WatchNamespaceSelector != "" {
return errors.New("watchNamespace and watchNamespaceSelector options are mutually exclusive")
}