Skip to content

Commit

Permalink
fix XFF trusted cidr test on pure ipv6 cluster
Browse files Browse the repository at this point in the history
the ipv6 address was not defined in the authorization
section

Test failure: https://github.com/envoyproxy/gateway/actions/runs/12772899958/job/35604351424

Relates to envoyproxy#4702

Signed-off-by: Arko Dasgupta <[email protected]>
  • Loading branch information
arkodg committed Jan 14, 2025
1 parent 3d986ae commit 02bbd45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/testdata/authorization-client-ip-trusted-cidrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ spec:
action: Deny
principal:
clientCIDRs:
- 192.168.1.0/24
- "192.168.1.0/24"
- "fc00:f853:ccd:e793::/64"
---
# This is a client traffic policy that enables client IP detection using the XFF header.
# So, the client IP can be detected from the XFF header and used for authorization.
Expand Down

0 comments on commit 02bbd45

Please sign in to comment.