Hi Team,
We are using traefik for a while and for a new requirements we tried to add/install the traefik-real-ip plugin through helm. But After we added the plugin and added the middleware we are getting the "404 page not found" error. We used the following docs for adding the traefik real ip plugin:
https://pilot.traefik.io/plugins/605afbb0a5f67ab9a1b0e520/traefik-real-ip
our values.yaml:
additionalArguments:
  - "--ping"
  - "--ping.entrypoint=traefik"
  - "--log.level=DEBUG"
deployment:
  kind: DaemonSet
service:
  enabled: false
hostNetwork: true
securityContext:
  capabilities:
    add:
      - NET_BIND_SERVICE
  runAsNonRoot: false
  runAsUser: 0
ports:
  web:
    port: 80
    expose: true
    protocol: TCP
    exposePort: 80
  websecure:
    port: 443
    expose: true
    protocol: TCP
    exposePort: 443
  traefik:
    port: 9000
    expose: true
    protocol: TCP
    exposePort: 9000
  metrics:
    port: 9050
    expose: true
    protocol: TCP
    exposePort: 9050
tlsOptions:
  default:
    maxVersion: VersionTLS13
    minVersion: VersionTLS12
  maxtls12:
    maxVersion: VersionTLS12
pilot:
  token: 528xxxxx-xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxxx
experimental:
  plugins:
    traefik-real-ip:
      modulename: github.com/soulbalz/traefik-real-ip
      version: v1.0.3
our middleware.yaml:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: staging-my-defense-traefik-real-ip
  namespace: portal
spec:
  plugin:
    traefik-real-ip:
      excludednets:
        - "1.1.1.1/24"
Can someone please have look at this and what we have missed here?
