2022-05-18 21:55:59 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2022-05-18 21:55:59 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "8080",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2022-05-18 21:55:59 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2022-05-18 21:55:59 +00:00
|
|
|
"test1.example.com",
|
|
|
|
"test2.example.com",
|
|
|
|
"test2.example.com:8080",
|
|
|
|
"test1.example.com:8080"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "foo",
|
|
|
|
"routes": [
|
2022-05-18 21:55:59 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2022-05-18 21:55:59 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2022-05-18 21:55:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2022-05-18 21:55:59 +00:00
|
|
|
"bar.ingress.*",
|
|
|
|
"bar.ingress.*:8080"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "bar",
|
|
|
|
"routes": [
|
2022-05-18 21:55:59 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2022-05-18 21:55:59 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "bar.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2022-05-18 21:55:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2022-05-18 21:55:59 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2022-05-18 21:55:59 +00:00
|
|
|
}
|