diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.in.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.in.yaml index b9b822ddc96..896cb7dfc5e 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.in.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.in.yaml @@ -220,6 +220,24 @@ services: - name: http protocol: TCP port: 8080 +endpointSlices: +- apiVersion: discovery.k8s.io/v1 + kind: EndpointSlice + metadata: + name: endpointslice-service-1 + namespace: envoy-gateway + labels: + kubernetes.io/service-name: service-1 + addressType: IPv4 + ports: + - name: http + protocol: TCP + port: 8080 + endpoints: + - addresses: + - "10.244.0.11" + conditions: + ready: true configMaps: - apiVersion: v1 kind: ConfigMap diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.out.yaml index 19605b19176..ee8d3f2784a 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.out.yaml @@ -471,9 +471,9 @@ tcpRoutes: status: "True" type: Accepted - lastTransitionTime: null - message: no ready endpoints for the related Service envoy-gateway/service-1 - reason: EndpointsNotFound - status: "False" + message: Resolved all the Object references for the Route + reason: ResolvedRefs + status: "True" type: ResolvedRefs controllerName: gateway.envoyproxy.io/gatewayclass-controller parentRef: @@ -700,6 +700,19 @@ xdsIR: name: tcproute-1 namespace: envoy-gateway name: tcproute/envoy-gateway/tcproute-1/rule/-1 + settings: + - addressType: IP + endpoints: + - host: 10.244.0.11 + port: 8080 + metadata: + kind: Service + name: service-1 + namespace: envoy-gateway + sectionName: "8080" + name: tcproute/envoy-gateway/tcproute-1/rule/-1/backend/0 + protocol: TCP + weight: 1 name: tcproute/envoy-gateway/tcproute-1 tls: terminate: