consul/proto-public
Nitya Dhanushkodi 92aab7ea31
[NET-5586][rebased] v2: Support virtual port references in config (#20371)
[OG Author: michael.zalimeni@hashicorp.com, rebase needed a separate PR]

* v2: support virtual port in Service port references

In addition to Service target port references, allow users to specify a
port by stringified virtual port value. This is useful in environments
such as Kubernetes where typical configuration is written in terms of
Service virtual ports rather than workload (pod) target port names.

Retaining the option of referencing target ports by name supports VMs,
Nomad, and other use cases where virtual ports are not used by default.

To support both uses cases at once, we will strictly interpret port
references based on whether the value is numeric. See updated
`ServicePort` docs for more details.

* v2: update service ref docs for virtual port support

Update proto and generated .go files with docs reflecting virtual port
reference support.

* v2: add virtual port references to L7 topo test

Add coverage for mixed virtual and target port references to existing
test.

* update failover policy controller tests to work with computed failover policy and assert error conditions against FailoverPolicy and ComputedFailoverPolicy resources

* accumulate services; don't overwrite them in enterprise

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
2024-01-29 10:43:41 -08:00
..
annotations/ratelimit NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
pbacl In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
pbauth/v2beta1 Net 5092/internal l7 traffic permissions (#20276) 2024-01-23 20:07:58 -06:00
pbcatalog/v2beta1 [NET-5586][rebased] v2: Support virtual port references in config (#20371) 2024-01-29 10:43:41 -08:00
pbconnectca In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
pbdataplane In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
pbdns In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
pbhcp/v2 Sync cluster attributes from GNM to Link resource (#20158) 2024-01-19 10:02:55 -05:00
pbmesh/v2beta1 [NET-5586][rebased] v2: Support virtual port references in config (#20371) 2024-01-29 10:43:41 -08:00
pbmulticluster/v2beta1 license: MPL'ify proto-public (#20143) 2024-01-10 11:05:12 -06:00
pbresource resource: add MutateAndValidate endpoint (#20311) 2024-01-25 13:12:30 -06:00
pbserverdiscovery In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
pbtenancy/v2beta1 license: MPL'ify proto-public (#20143) 2024-01-10 11:05:12 -06:00
.copywrite.hcl license: MPL'ify proto-public (#20143) 2024-01-10 11:05:12 -06:00
LICENSE Make proto-public license MPL (#18531) 2023-08-21 12:31:54 -05:00
buf.gen.yaml In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
buf.lock Add Kubebuilder tags to Gatewayclassconfig proto messages (#19725) 2023-11-28 14:46:11 -06:00
buf.yaml Add Kubebuilder tags to Gatewayclassconfig proto messages (#19725) 2023-11-28 14:46:11 -06:00
go.mod [NET-7009] security: update x/crypto to 0.17.0 (#20023) 2023-12-21 20:11:19 +00:00
go.sum [NET-7009] security: update x/crypto to 0.17.0 (#20023) 2023-12-21 20:11:19 +00:00