2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "443",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"baz.ingress.*",
|
|
|
|
"baz.ingress.*:443"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "baz",
|
|
|
|
"routes": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-04-16 23:24:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "baz.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"qux.ingress.*",
|
|
|
|
"qux.ingress.*:443"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "qux",
|
|
|
|
"routes": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-04-16 23:24:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "qux.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2020-04-16 23:24:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "8080",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-04-23 15:06:19 +00:00
|
|
|
"test1.example.com",
|
2020-07-07 15:43:04 +00:00
|
|
|
"test2.example.com",
|
|
|
|
"test2.example.com:8080",
|
|
|
|
"test1.example.com:8080"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "foo",
|
|
|
|
"routes": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-04-16 23:24:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"bar.ingress.*",
|
|
|
|
"bar.ingress.*:8080"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "bar",
|
|
|
|
"routes": [
|
2020-04-16 23:24:11 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2020-04-16 23:24:11 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "bar.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|