backport of commit 22d216c106 (#15508)

This pull request was automerged via backport-assistant
pull/15511/head
hc-github-team-consul-core 2022-11-21 12:46:15 -05:00 committed by GitHub
parent 5ce0132e9b
commit 93c3a86ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -34,8 +34,8 @@ The table below shows this endpoint's support for
### JSON Request Body Schema
- `Peer` `(string: <required>)` - The name assigned to the peer cluster.
The `Peer` is used to reference the peer cluster in service discovery queries
- `PeerName` `(string: <required>)` - 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: <required>)` - The name assigned to the peer cluster.
The `Peer` is used to reference the peer cluster in service discovery queries
- `PeerName` `(string: <required>)` - 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"