2020-04-16 23:24:11 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2020-04-30 14:31:37 +00:00
|
|
|
"name": "443",
|
2020-04-16 23:24:11 +00:00
|
|
|
"virtualHosts": [
|
|
|
|
{
|
|
|
|
"name": "baz",
|
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"baz.ingress.*",
|
|
|
|
"baz.ingress.*:443"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
|
|
|
"cluster": "baz.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "qux",
|
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"qux.ingress.*",
|
|
|
|
"qux.ingress.*:443"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
|
|
|
"cluster": "qux.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"validateClusters": true
|
|
|
|
},
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2020-04-30 14:31:37 +00:00
|
|
|
"name": "8080",
|
2020-04-16 23:24:11 +00:00
|
|
|
"virtualHosts": [
|
|
|
|
{
|
|
|
|
"name": "foo",
|
|
|
|
"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
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
2023-03-03 14:37:12 +00:00
|
|
|
"cluster": "foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "bar",
|
|
|
|
"domains": [
|
2020-07-07 15:43:04 +00:00
|
|
|
"bar.ingress.*",
|
|
|
|
"bar.ingress.*:8080"
|
2020-04-16 23:24:11 +00:00
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
2023-03-03 14:37:12 +00:00
|
|
|
"cluster": "bar.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2020-04-16 23:24:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"validateClusters": true
|
|
|
|
}
|
|
|
|
],
|
2021-02-26 22:23:15 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2020-04-16 23:24:11 +00:00
|
|
|
"nonce": "00000001"
|
|
|
|
}
|