-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_xds_config.json
72 lines (72 loc) · 1.68 KB
/
test_xds_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[
{
"name": "testADSServer",
"version": "1",
"resource": {
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener",
"name": "testADSServer",
"apiListener": {
"apiListener": {
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager",
"rds": {
"configSource": {
"ads": {},
"resourceApiVersion": "V3"
},
"routeConfigName": "testADSServer"
},
"httpFilters": [
{
"name": "default",
"typedConfig": {
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router"
}
}
]
}
}
}
},
{
"name": "testADSServer",
"version": "1",
"resource": {
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
"name": "testADSServer",
"virtualHosts": [
{
"name": "testADSServer",
"domains": [
"*"
],
"routes": [
{
"name": "default",
"match": {
"prefix": ""
},
"route": {
"cluster": "testADSServer"
}
}
]
}
]
}
},
{
"name": "testADSServer",
"version": "1",
"resource": {
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
"name": "testADSServer",
"type": "EDS",
"edsClusterConfig": {
"edsConfig": {
"ads": {},
"resourceApiVersion": "V3"
}
}
}
}
]