Skip to content

Commit 187c7e7

Browse files
Diaoulclaude
andcommitted
fix(envoy): use trustedCIDRs instead of numTrustedHops for client IP detection
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent 5608b6b commit 187c7e7

File tree

1 file changed

+2
-1
lines changed
  • kubernetes/apps/network/envoy-gateway/app

1 file changed

+2
-1
lines changed

kubernetes/apps/network/envoy-gateway/app/envoy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ metadata:
149149
spec:
150150
clientIPDetection:
151151
xForwardedFor:
152-
numTrustedHops: 1
152+
trustedCIDRs:
153+
- 10.42.0.0/16
153154
connection:
154155
bufferLimit: 4Mi
155156
maxAcceptPerSocketEvent: 0

0 commit comments

Comments
 (0)