From 22d216c1069e7823798034a30c64abe5b13700f4 Mon Sep 17 00:00:00 2001 From: DanStough Date: Mon, 21 Nov 2022 12:32:24 -0500 Subject: [PATCH] docs: revert peering API changes --- website/content/api-docs/peering.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/content/api-docs/peering.mdx b/website/content/api-docs/peering.mdx index 86c74e0a40..d68716f82f 100644 --- a/website/content/api-docs/peering.mdx +++ b/website/content/api-docs/peering.mdx @@ -34,8 +34,8 @@ The table below shows this endpoint's support for ### JSON Request Body Schema -- `Peer` `(string: )` - The name assigned to the peer cluster. - The `Peer` is used to reference the peer cluster in service discovery queries +- `PeerName` `(string: )` - The name assigned to the peer cluster. + The `PeerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label. @@ -54,7 +54,7 @@ You can specify one or more load balancers or external IPs that route external t ```json { - "Peer": "cluster-02", + "PeerName": "cluster-02", "Meta": { "env": "production" } @@ -101,8 +101,8 @@ The table below shows this endpoint's support for ### JSON Request Body Schema -- `Peer` `(string: )` - The name assigned to the peer cluster. - The `Peer` is used to reference the peer cluster in service discovery queries +- `PeerName` `(string: )` - The name assigned to the peer cluster. + The `PeerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label. @@ -121,7 +121,7 @@ The table below shows this endpoint's support for ```json { - "Peer": "cluster-01", + "PeerName": "cluster-01", "PeeringToken": "eyJDQSI6bnVsbCwiU2V...", "Meta": { "env": "production"