In a Kubernetes environment, acting as Ingress Controller, is it possible to configure a default buffer size other than 0 for all ingresses?

In a Kubernetes environment, acting as Ingress Controller, is it possible to configure a default buffer size other than 0 for all ingresses?.

We have read that by default maxRequestBodyBytes and maxResponseBodyBytes are set to 0 and to configure a different size for each ingress we have to add Middleware resources and use them as annotations (still using Kubernetes Ingress resources while fully migrating to Traefik). But we will prefer to have a default value for such sizes other than 0 and only allow 1M, as we did with the Kubernetes Nginx Ingress Controller.

We have tested adding different Middleware resources at Endpoint level but size values aren’t overwritten, we understood that “default” Middlewares (applied at the publishing Endpoint) are added to the ones specified in each Ingress resource with annotations (tested and confirmed) so there isn’t a clear option to have global-effects Middleware resources if their values will always be used and can’t be set at namespace resources level.

We wander if there is an start option to change buffering size values as they don’t seem documented.

Many thanks for your help,

Javier R.