open-nomad/command/agent/consul
Seth Hoenig 87be8c4c4b consul: correctly check consul acl token namespace when using consul oss
This PR fixes the Nomad Object Namespace <-> Consul ACL Token relationship
check when using Consul OSS (or Consul ENT without namespace support).

Nomad v1.1.0 introduced a regression where Nomad would fail the validation
when submitting Connect jobs and allow_unauthenticated set to true, with
Consul OSS - because it would do the namespace check against the Consul ACL
token assuming the "default" namespace, which does not work because Consul OSS
does not have namespaces.

Instead of making the bad assumption, expand the namespace check to handle
each special case explicitly.

Fixes #10718
2021-06-08 13:55:57 -05:00
..
acl_testing.go consul: correctly check consul acl token namespace when using consul oss 2021-06-08 13:55:57 -05:00
catalog_testing.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
check_watcher.go consul: minor CR cleanup 2021-04-05 10:10:16 -06:00
check_watcher_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
config_entries_testing.go
connect.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
connect_proxies.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_proxies_test.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_proxies_testing.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
group_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
int_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
namespaces_client.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
service_client.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
service_client_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
structs.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
testing.go
unit_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
version_checker.go
version_checker_test.go