[
{
"apiVersion": "gateway.networking.k8s.io/v1",
"kind": "TLSRoute",
"metadata": {
"name": "gateway-conformance-infra-test",
"namespace": "gateway-conformance-infra"
},
"spec": {
"parentRefs": [
{
"name": "gateway-tlsroute",
"namespace": "gateway-conformance-infra"
}
],
"hostnames": [
"abc.example.com"
],
"rules": [
{
"backendRefs": [
{
"name": "tcp-backend",
"port": 8443
}
]
}
]
}
},
{
"apiVersion": "gateway.networking.k8s.io/v1",
"kind": "Gateway",
"metadata": {
"name": "gateway-tlsroute",
"namespace": "gateway-conformance-infra"
},
"spec": {
"gatewayClassName": "rws",
"listeners": [
{
"name": "https",
"port": 443,
"protocol": "TLS",
"hostname": "*.example.com",
"allowedRoutes": {
"namespaces": {
"from": "Same"
},
"kinds": [
{
"kind": "TLSRoute"
}
]
},
"tls": {
"mode": "Passthrough"
}
}
]
}
}
]