open-nomad/command/agent/consul
Seth Hoenig 119f7b1cd1
consul: fixup expected consul tagged_addresses when using ipv6 (#15411)
This PR is a continuation of #14917, where we missed the ipv6 cases.

Consul auto-inserts tagged_addresses for keys
- lan_ipv4
- wan_ipv4
- lan_ipv6
- wan_ipv6

even though the service registration coming from Nomad does not contain such
elements. When doing the differential between services Nomad expects to be
registered vs. the services actually registered into Consul, we must first
purge these automatically inserted tagged_addresses if they do not exist in
the Nomad view of the Consul service.
2022-12-01 07:38:30 -06:00
..
acl_testing.go consul: move consul acl tests into ent files 2021-06-09 08:38:42 -05:00
catalog_testing.go consul: register checks along with service on initial registration (#14944) 2022-10-19 12:40:56 -05:00
config_entries_testing.go
connect.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
connect_proxies.go
connect_proxies_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
connect_proxies_testing.go
connect_test.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
group_test.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
int_test.go Vars: Update CT dependency to support variables. (#14399) 2022-08-30 15:26:01 -04:00
namespaces_client.go consul: allow stale namespace results (#12953) 2022-08-26 16:05:12 -07:00
namespaces_client_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
self.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
self_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
service_client.go consul: fixup expected consul tagged_addresses when using ipv6 (#15411) 2022-12-01 07:38:30 -06:00
service_client_test.go consul: fixup expected consul tagged_addresses when using ipv6 (#15411) 2022-12-01 07:38:30 -06:00
structs.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
testing.go cleanup: consolidate interfaces for workload restarting 2022-09-09 08:59:04 -05:00
unit_test.go deps: bump shoenig for str func bugfixes (#14974) 2022-10-20 08:11:43 -05:00
version_checker.go cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
version_checker_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00