consul/proto/pbservice
R.B. Boyer 1a8834e1c8
peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218)
The importing peer will need to know what SNI and SPIFFE name
corresponds to each exported service. Additionally it will need to know
at a high level the protocol in use (L4/L7) to generate the appropriate
connection pool and local metrics.

For replicated connect synthetic entities we edit the `Connect{}` part
of a `NodeService` to have a new section:

    {
      "PeerMeta": {
        "SNI": [
          "web.default.default.owt.external.183150d5-1033-3672-c426-c29205a576b8.consul"
        ],
        "SpiffeID": [
          "spiffe://183150d5-1033-3672-c426-c29205a576b8.consul/ns/default/dc/dc1/svc/web"
        ],
        "Protocol": "tcp"
      }
    }

This data is then replicated and saved as-is at the importing side. Both
SNI and SpiffeID are slices for now until I can be sure we don't need
them for how mesh gateways will ultimately work.
2022-05-25 12:37:44 -05:00
..
convert.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
convert_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
convert_oss_test.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
convert_pbstruct.go
convert_test.go
healthcheck.gen.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
healthcheck.pb.binary.go
healthcheck.pb.go Specify go_package explicitly 2022-05-24 10:22:53 -07:00
healthcheck.proto Migrate from `protoc` to `buf` (#12841) 2022-05-23 10:37:52 -04:00
ids.go agent: allow for service discovery queries involving peer name to use streaming (#13168) 2022-05-20 15:27:01 -05:00
ids_test.go agent: allow for service discovery queries involving peer name to use streaming (#13168) 2022-05-20 15:27:01 -05:00
node.gen.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
node.pb.binary.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
node.pb.go Specify go_package explicitly 2022-05-24 10:22:53 -07:00
node.proto Migrate from `protoc` to `buf` (#12841) 2022-05-23 10:37:52 -04:00
service.gen.go peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218) 2022-05-25 12:37:44 -05:00
service.pb.binary.go peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218) 2022-05-25 12:37:44 -05:00
service.pb.go peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218) 2022-05-25 12:37:44 -05:00
service.proto peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218) 2022-05-25 12:37:44 -05:00