apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: whoami
spec:
  entryPoints:
  - web
  routes:
  - kind: Rule
    match: Host(\`demo.kubevious.io\`)
    middlewares:
    - name: samples-security@kubernetescrd   # Middleware not found in the namespace "samples"
      namespace: samples
    - name: redirect                         # Middleware not found in same namespace
    services: