From 4a4750fc42f8dc6fd12e6ea406489dace518a499 Mon Sep 17 00:00:00 2001 From: Alexander Volchok Date: Tue, 1 Oct 2024 05:34:34 +0200 Subject: [PATCH] updating tls route expect Signed-off-by: Alexander Volchok --- .../testdata/tlsroute-with-backend.out.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml index 11e2b10b9a07..5bba3e17f2a8 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml @@ -95,9 +95,10 @@ tlsRoutes: parents: - conditions: - lastTransitionTime: null - message: Route is accepted - reason: Accepted - status: "True" + message: 'backend reference validation failed: backend is not supported for + route kind: TLSRoute' + reason: Failed to process the settings associated with the TLS route. + status: "False" type: Accepted - lastTransitionTime: null message: Resource default/backend-ip of type Backend is not supported for @@ -118,11 +119,3 @@ xdsIR: - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10090 - routes: - - destination: - name: tlsroute/default/tlsroute-1/rule/-1 - name: tlsroute/default/tlsroute-1 - tls: - inspector: - snis: - - foo.com