Skip to content

Commit

Permalink
backport of commit 359409b (#17928)
Browse files Browse the repository at this point in the history
Co-authored-by: David Yu <dyu@hashicorp.com>
  • Loading branch information
hc-github-team-consul-core and David Yu authored Jun 28, 2023
1 parent 28101c8 commit 7a13886
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ metadata:
spec:
defaultForFailover: true
members:
partition: partition-1
partition: partition-2
peer: dc2-partition-1
- partition: partition-1
- partition: partition-2
- peer: dc2-partition-1
```
</CodeBlockConfig>
Expand All @@ -106,9 +106,9 @@ metadata:
spec:
defaultForFailover: true
members:
partition: partition-2
partition: partition-1
peer: dc2-partition-1
- partition: partition-2
- partition: partition-1
- peer: dc2-partition-1
```
</CodeBlockConfig>
Expand All @@ -123,9 +123,9 @@ metadata:
spec:
defaultForFailover: true
members:
partition: partition-1
peer: dc1-partition-1
peer: dc2-partition-2
- partition: partition-1
- peer: dc1-partition-1
- peer: dc2-partition-2
```
</CodeBlockConfig>
Expand Down Expand Up @@ -287,4 +287,4 @@ $ kubectl apply --filename api.yaml

It is possible to combine the service intentions configuration entry for creating sameness groups with the entry required to [authorize services for peers](/consul/docs/connect/cluster-peering/usage/establish-cluster-peering#authorize-services-for-peers).

In this workflow, configure the `sources` block with the `samenessGroup` field instead of the `peer` field. You should write the `sameness-group` configuration entry to Consul before referencing it in the `service-intentions` configuration entry.
In this workflow, configure the `sources` block with the `samenessGroup` field instead of the `peer` field. You should write the `sameness-group` configuration entry to Consul before referencing it in the `service-intentions` configuration entry.

0 comments on commit 7a13886

Please sign in to comment.