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
..
2022-08-22 18:38:49 -04:00
2020-03-23 19:32:58 -04:00
2022-03-15 12:58:52 -05:00
2022-03-15 12:58:52 -05:00
2022-03-15 12:58:52 -05:00
2022-08-03 16:56:30 -04:00
2022-07-12 18:40:20 -04:00
2022-06-03 07:37:24 -04:00
2022-06-03 07:37:24 -04:00
2022-08-17 18:26:34 +02:00
2022-08-18 16:32:04 -07:00
2021-10-01 10:14:28 -04:00
2022-08-24 17:03:29 -04:00
2022-08-18 16:32:04 -07:00
2022-08-17 18:26:34 +02:00
2022-07-21 10:22:57 -05:00
2022-08-09 17:27:29 -04:00
2022-08-17 18:26:34 +02:00
2022-08-18 16:32:04 -07:00
2021-10-01 10:14:28 -04:00
2022-08-17 18:26:34 +02:00
2022-08-03 16:56:30 -04:00
2022-08-17 18:26:34 +02:00
2022-08-18 16:32:04 -07:00
2022-04-15 14:29:34 -04:00
2022-04-15 14:29:34 -04:00
2022-03-15 12:58:52 -05:00
2022-02-16 14:34:36 -05:00
2022-07-06 16:30:11 +02:00
2022-07-06 16:30:11 +02:00
2022-03-15 12:58:52 -05:00
2020-12-08 13:09:20 -05:00
2022-03-15 12:58:52 -05:00
2022-08-16 11:14:11 -05:00
2022-03-15 12:58:52 -05:00
2018-10-16 16:56:55 -07:00
2021-10-01 10:14:28 -04:00
2022-03-15 12:58:52 -05:00
2020-04-20 10:33:40 -04:00
2022-08-18 16:32:04 -07:00
2022-07-20 14:12:21 -04:00
2022-08-24 17:43:01 +02:00
2022-08-24 17:43:01 +02:00
2022-07-11 13:34:06 -04:00
2022-07-11 13:34:06 -04:00
2022-05-12 11:42:40 -04:00
2020-10-01 11:12:14 -04:00
2022-01-14 12:25:32 -05:00
2021-10-26 20:57:07 -04:00
2022-05-12 11:42:40 -04:00
2021-10-26 20:57:07 -04:00
2021-10-26 20:57:07 -04:00
2022-03-15 12:58:52 -05:00
2022-03-25 13:43:33 -05:00
2022-03-15 12:58:52 -05:00
2021-03-09 15:28:58 +01:00
2022-03-15 12:58:52 -05:00
2020-10-22 15:26:32 -07:00
2022-04-15 17:22:45 -07:00
2022-04-15 17:22:45 -07:00
2021-10-01 10:14:28 -04:00
2022-07-06 16:13:48 +02:00
2022-07-06 16:13:48 +02:00
2019-01-22 15:50:08 -08:00
2022-03-15 12:58:52 -05:00
2015-11-24 09:38:07 -08:00
2022-03-15 12:58:52 -05:00
2018-09-13 10:43:40 -07:00
2022-03-15 12:58:52 -05:00
2020-12-08 12:47:04 -08:00
2022-08-15 11:19:53 -04:00
2021-04-16 16:36:07 -06:00
2022-08-15 11:19:53 -04:00
2022-08-15 11:19:53 -04:00
2022-06-25 10:37:37 -05:00
2022-06-25 10:37:37 -05:00
2022-03-15 12:58:52 -05:00
2018-02-15 13:59:02 -08:00
2022-03-15 12:58:52 -05:00
2015-09-06 18:39:03 -07:00
2021-10-01 10:14:28 -04:00
2022-03-15 12:58:52 -05:00
2019-01-22 15:44:31 -08:00
2022-03-15 12:58:52 -05:00
2016-08-03 16:12:47 -07:00
2021-10-01 10:14:28 -04:00
2022-03-25 13:43:33 -05:00
2022-08-17 18:26:34 +02:00