Files
nomad/command/agent
Tim Gross e886d5d055 vault: detect namespace change in config reload (#14298)
The `namespace` field was not included in the equality check between old and new
Vault configurations, which meant that a Vault config change that only changed
the namespace would not be detected as a change and the clients would not be
reloaded.

Also, the comparison for boolean fields such as `enabled` and
`allow_unauthenticated` was on the pointer and not the value of that pointer,
which results in spurious reloads in real config reload that is easily missed in
typical test scenarios.

Includes a minor refactor of the order of fields for `Copy` and `Merge` to match
the struct fields in hopes it makes it harder to make this mistake in the
future, as well as additional test coverage.
2022-08-24 17:03:29 -04:00
..
2021-10-01 10:14:28 -04:00
2022-08-09 17:27:29 -04:00
2021-10-01 10:14:28 -04:00
2018-10-16 16:56:55 -07:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2018-09-13 10:43:40 -07:00
2018-02-15 13:59:02 -08:00
2015-09-06 18:39:03 -07:00
2021-10-01 10:14:28 -04:00
2019-01-22 15:44:31 -08:00
2021-10-01 10:14:28 -04:00
2022-03-25 13:43:33 -05:00