diff --git a/website/source/docs/connect/registration/sidecar-service.md b/website/source/docs/connect/registration/sidecar-service.md index 4d2f7fb9e9..287b12ed9b 100644 --- a/website/source/docs/connect/registration/sidecar-service.md +++ b/website/source/docs/connect/registration/sidecar-service.md @@ -30,9 +30,11 @@ To register a service instance with a sidecar, all that's needed is: ```json { - "name": "web", - "port": 8080, - "connect": { "sidecar_service": {} } + "service": { + "name": "web", + "port": 8080, + "connect": { "sidecar_service": {} } + } } ``` @@ -44,8 +46,10 @@ definitions: ```json { - "name": "web", - "port": 8080, + "service": { + "name": "web", + "port": 8080, + } } { "name": "web-sidecar-proxy",