docs: Fix example service registration for built-in proxy

Fix the sample service registration for the built-in proxy by adding
the missing `sidecar_service` block.
pull/20336/head
Blake Covarrubias 10 months ago
parent 6828780131
commit d5005719c0
No known key found for this signature in database
GPG Key ID: EA6CE6667C63FF54

@ -12,6 +12,7 @@
"ModifyIndex": 0,
"ProxyDestination": "",
"Connect": {
"SidecarService": {
"Proxy": {
"ExecMode": "daemon",
"Command": [
@ -22,6 +23,7 @@
"Config": null
}
}
}
},
"web-proxy": {
"Kind": "connect-proxy",

@ -24,6 +24,7 @@ for the built-in proxy.
"service": {
"name": "example-service",
"connect": {
"sidecar_service": {
"proxy": {
"config": {
"bind_address": "0.0.0.0",
@ -45,6 +46,7 @@ for the built-in proxy.
}
}
}
}
```
All fields are optional with a reasonable default.

Loading…
Cancel
Save