- IDP Support
- Upgrading Ambassador
- Statistics and Monitoring
- Need Help?
Ambassador can add a dictionary of HTTP headers that can be added to each request that is passed to a service.
add_request_headers attribute is a dictionary of
value pairs. Envoy dynamic values
%PROTOCOL% are supported, in addition to static values.
--- apiVersion: ambassador/v1 kind: Mapping name: qotm_mapping prefix: /qotm/ add_request_headers: x-test-proto: "%PROTOCOL%" x-test-ip: "%DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT%" x-test-static: This is a test header service: qotm
will add the protocol, client IP, and a static header to