diff --git a/proto-public/pbmesh/v1alpha1/upstreams.pb.go b/proto-public/pbmesh/v1alpha1/upstreams.pb.go index 524bda7985f4c..e8e9e4f9cf89e 100644 --- a/proto-public/pbmesh/v1alpha1/upstreams.pb.go +++ b/proto-public/pbmesh/v1alpha1/upstreams.pb.go @@ -14,7 +14,6 @@ import ( pbresource "github.com/hashicorp/consul/proto-public/pbresource" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" sync "sync" ) @@ -211,7 +210,7 @@ type IPPortAddress struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // ip is an IPv4 address. + // ip is an IPv4 or an IPv6 address. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // port is the port number. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` @@ -438,9 +437,7 @@ var file_pbmesh_v1alpha1_upstreams_proto_rawDesc = []byte{ 0x31, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x21, 0x70, 0x62, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x61, + 0x31, 0x1a, 0x21, 0x70, 0x62, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x70, 0x62, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x5f, diff --git a/proto-public/pbmesh/v1alpha1/upstreams_configuration.pb.go b/proto-public/pbmesh/v1alpha1/upstreams_configuration.pb.go index 1a5227a828f6c..a4e2cc66c82e4 100644 --- a/proto-public/pbmesh/v1alpha1/upstreams_configuration.pb.go +++ b/proto-public/pbmesh/v1alpha1/upstreams_configuration.pb.go @@ -93,6 +93,9 @@ func (x *UpstreamsConfiguration) GetConfigOverrides() []*UpstreamConfigOverrides return nil } +// UpstreamConfigOverrides allow to override upstream configuration per destination_ref/port/datacenter. +// In that sense, those three fields (destination_ref, destination_port and datacenter) are treated +// sort of like map keys and config is a like a map value for that key. type UpstreamConfigOverrides struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache