Kubernetes traefik v1.7 proxy can't get trusted_proxy workout correctly

Hi, I have a problem with the option trusted_proxy, trusted_networks and bypass login behind a reverse-proxy

My configuration in homeassistant is the next one:

http:
  use_x_forwarded_for: true
  trusted_proxies:
  - 10.42.0.0/16  # Ingress de kubernetes K3s11
  - 10.43.0.0/16  # Ingres de Kubernetes K3s13

homeassistant:
  external_url: "https://xxx.xxx.xxx.xxx"
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 10.100.64.26/32
      trusted_users:
        10.0.64.26:
          - 4122be606b4a12d1d67bb12a824asddd218
      allow_bypass_login: true
    - type: homeassistant
logger:
  default: debug

And the traefik configurations is the next one:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    ingress.kubernetes.io/whitelist-x-forwarded-for: "true"
    traefik.ingress.kubernetes.io/preserve-host: "true"
    traefik.ingress.kubernetes.io/redirect-entry-point: https
    traefik.ingress.kubernetes.io/service.passhostheader: "true"
  name: homeassistant-ingress
  namespace: monitoring
spec:
  rules:
  - host: xxx.xxxx.xxx
    http:
      paths:
      - backend:
          service:
            name: homeassistant
            port:
              number: 80
        path: /
        pathType: Prefix
  tls:
  - hosts:
    - xxx.xxxxxx.xx
    secretName: xxx-tls

But the logs in Home assistant show me there is no trusted.

23-04-20T14:48:04-04:00 2023-04-20 18:48:04.403 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/providers to 10.42.0.1 (auth: False)
2023-04-20T14:48:04-04:00 2023-04-20 18:48:04.673 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to 10.42.0.1 (auth: False)
2023-04-20T14:48:04-04:00 2023-04-20 18:48:04.677 DEBUG (MainThread) [homeassistant.components.http.view] Serving /manifest.json to 10.42.0.1 (auth: False)
2023-04-20T14:48:06-04:00 2023-04-20 18:48:06.634 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to 10.42.0.1 (auth: False)
2023-04-20T14:48:07-04:00 2023-04-20 18:48:07.441 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to 10.42.0.1 (auth: False)

Toda ayuda es bienvenida que voy varios días peleando con este problema