linkerd2/policy-test
Alex Leong f19c74b960
Add support for HTTP filters in outbound policy (#11083)
We add support for the RequestHeaderModifier and RequestRedirect HTTP filters.  The policy controller reads these filters in any HttpRoute resource that it indexes (both policy.linkerd.io and gateway.networking.k8s.io) and returns them in the outbound policy API.  These filters may be added at the route rule level and at the backend level.

We add outbound api tests for this behavior for both types of HttpRoute.

Incidentally we also fix a flaky test in the outbound api tests where a watch was being recreated partway through a test, leading to a race condition.

Signed-off-by: Alex Leong <alex@buoyant.io>
2023-07-10 16:57:42 -07:00
..
src Use namespace field of backend ref when it is set (#10909) 2023-05-19 09:32:01 -07:00
tests Add support for HTTP filters in outbound policy (#11083) 2023-07-10 16:57:42 -07:00
Cargo.toml implement GEP-1742 timeouts in the policy controller (#10975) 2023-06-02 11:32:40 -07:00
README.md dev: Run policy tests via `just` (#8919) 2022-07-19 14:01:26 -07:00

README.md

Policy controller tests

The policy-test crate includes integration tests for the policy controller.

Running locally

:; just policy-test

Running in CI

See the workflow.