open-nomad/command/agent
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
..
consul consul: fixup expected consul tagged_addresses when using ipv6 (#15411) 2022-12-01 07:38:30 -06:00
event make auditor interface more explicit 2020-03-23 19:32:58 -04:00
host testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
monitor ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
pprof ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
test-resources Add Nomad RetryConfig to agent template config (#13907) 2022-08-03 16:56:30 -04:00
testdata acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
acl_endpoint.go acl: sso auth methods RPC/API/CLI should return created or updated objects (#15410) 2022-11-29 07:36:36 +01:00
acl_endpoint_test.go acl: sso auth methods RPC/API/CLI should return created or updated objects (#15410) 2022-11-29 07:36:36 +01:00
agent.go server: add git revision to serf tags (#9159) 2022-11-07 10:34:33 -05:00
agent_endpoint.go api: ensure all request body decode error return a 400 status code. (#15252) 2022-11-18 17:04:33 +01:00
agent_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
agent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
agent_test.go vault: detect namespace change in config reload (#14298) 2022-08-24 17:03:29 -04:00
alloc_endpoint.go client: fix RPC forwarding when querying checks for alloc. (#14498) 2022-09-08 16:55:23 +02:00
alloc_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
bindata_assetfs.go Generate files for 1.4.3 release 2022-11-22 12:56:29 -05:00
command.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
command_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
config.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
config_parse.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_parse_test.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_test.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
csi_endpoint.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
csi_endpoint_test.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
deployment_endpoint.go initial base work for implementing sorting and filter across API endpoints (#12076) 2022-02-16 14:34:36 -05:00
deployment_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_endpoint.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
eval_endpoint_test.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
event_endpoint.go return 405 on non-GET requests to /v1/event/stream (fixes #9526) (#9564) 2020-12-08 13:09:20 -05:00
event_endpoint_test.go api: remove `mapstructure` tags from`Port` struct (#12916) 2022-11-08 11:26:28 +01:00
fs_endpoint.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fs_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
helpers.go client: expose task state to client 2018-10-16 16:56:55 -07:00
helpers_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http.go sso: add ACL auth-method HTTP API CRUD endpoints (#15338) 2022-11-23 09:38:02 +01:00
http_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
http_stdlog.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_stdlog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http_test.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
job_endpoint.go template: error on missing key (#15141) 2022-11-04 13:23:01 -04:00
job_endpoint_test.go template: error on missing key (#15141) 2022-11-04 13:23:01 -04:00
keyring.go Log AES-128 and AES-192 key sizes during keyring initialization 2020-10-01 11:12:14 -04:00
keyring_endpoint.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_endpoint_test.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
log_file.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_bsd.go freebsd: build fix for ARM7 32-bit (#11854) 2022-01-14 12:25:32 -05:00
log_file_linux.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
log_file_windows.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_levels.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
log_levels_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
metrics_endpoint.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
metrics_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_endpoint.go api: ensure all request body decode error return a 400 status code. (#15252) 2022-11-18 17:04:33 +01:00
namespace_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_endpoint.go Add os to NodeListStub struct. (#12497) 2022-04-15 17:22:45 -07:00
node_endpoint_test.go Add os to NodeListStub struct. (#12497) 2022-04-15 17:22:45 -07:00
operator_endpoint.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
operator_endpoint_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
operator_endpoint_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
plugins.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
region_endpoint.go
region_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
retry_join.go agent + consul 2018-09-13 10:43:40 -07:00
retry_join_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
scaling_endpoint.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
scaling_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
search_endpoint.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_endpoint_test.go search: enforce correct ACL for search over variables (#14397) 2022-08-30 13:27:31 -04:00
service_registration_endpoint.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
service_registration_endpoint_test.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
stats_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
status_endpoint.go
status_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
stub_asset.go gofmt all the files 2021-10-01 10:14:28 -04:00
syslog.go goimports 2019-01-22 15:44:31 -08:00
syslog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_endpoint.go
system_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testagent.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
testagent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
testingutils_test.go api: remove `mapstructure` tags from`Port` struct (#12916) 2022-11-08 11:26:28 +01:00
variable_endpoint.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
variable_endpoint_test.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00