Add headers using virtual service

If you want to add the header to the request, add something like this:

headers:
  request:
    add:
      name: test

If you want to add the header for all routes, put it just before the route: field.
If you only want it to be added to one of the routes, put it after the weight field of the corresponding route.