From a8465f1555d12349d32773f2467c800840be8849 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Tue, 5 Nov 2024 06:56:26 -0500 Subject: [PATCH] Like I would know what I'm doing Signed-off-by: Alex Snaps --- tests/v1beta3/authconfig.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/v1beta3/authconfig.yaml b/tests/v1beta3/authconfig.yaml index 499c043c..206b168b 100644 --- a/tests/v1beta3/authconfig.yaml +++ b/tests/v1beta3/authconfig.yaml @@ -77,7 +77,8 @@ spec: Accept: value: application/json method: GET - urlExpression: "http://ip-location.authorino.svc.cluster.local:3000/" + request.headers["x-forwarded-for"].split(",")[0] + urlExpression: | + "http://ip-location.authorino.svc.cluster.local:3000/" + request.headers["x-forwarded-for"].split(",")[0] cache: key: expression: request.headers["x-forwarded-for"].split(",")[0]