File tree Expand file tree Collapse file tree 2 files changed +28
-24
lines changed
ui/packages/consul-ui/mock-api/v1/agent
website/content/docs/connect/proxies Expand file tree Collapse file tree 2 files changed +28
-24
lines changed Original file line number Diff line number Diff line change 12
12
"ModifyIndex": 0,
13
13
"ProxyDestination": "",
14
14
"Connect": {
15
- "Proxy": {
16
- "ExecMode": "daemon",
17
- "Command": [
18
- "/bin/consul",
19
- "connect",
20
- "proxy"
21
- ],
22
- "Config": null
15
+ "SidecarService": {
16
+ "Proxy": {
17
+ "ExecMode": "daemon",
18
+ "Command": [
19
+ "/bin/consul",
20
+ "connect",
21
+ "proxy"
22
+ ],
23
+ "Config": null
24
+ }
23
25
}
24
26
}
25
27
},
Original file line number Diff line number Diff line change @@ -24,23 +24,25 @@ for the built-in proxy.
24
24
"service" : {
25
25
"name" : " example-service" ,
26
26
"connect" : {
27
- "proxy" : {
28
- "config" : {
29
- "bind_address" : " 0.0.0.0" ,
30
- "bind_port" : 20000 ,
31
- "local_service_address" : " 127.0.0.1:1234" ,
32
- "local_connect_timeout_ms" : 1000 ,
33
- "handshake_timeout_ms" : 10000 ,
34
- "upstreams" : []
35
- },
36
- "upstreams" : [
37
- {
38
- "destination_name" : " example-upstream" ,
39
- "config" : {
40
- "connect_timeout_ms" : 1000
27
+ "sidecar_service" : {
28
+ "proxy" : {
29
+ "config" : {
30
+ "bind_address" : " 0.0.0.0" ,
31
+ "bind_port" : 20000 ,
32
+ "local_service_address" : " 127.0.0.1:1234" ,
33
+ "local_connect_timeout_ms" : 1000 ,
34
+ "handshake_timeout_ms" : 10000 ,
35
+ "upstreams" : []
36
+ },
37
+ "upstreams" : [
38
+ {
39
+ "destination_name" : " example-upstream" ,
40
+ "config" : {
41
+ "connect_timeout_ms" : 1000
42
+ }
41
43
}
42
- }
43
- ]
44
+ ]
45
+ }
44
46
}
45
47
}
46
48
}
You can’t perform that action at this time.
0 commit comments