Tim Gross
4d9cc73ed2
sids_hook: fix check for Consul token derived from WI ( #18821 )
...
The `sids_hook` serves the legacy Connect workflow, and we want to bypass it
when using workload identities. So the hook checks that there's not already a
Consul token in the alloc hook resources derived from the Workload
Identity. This check was looking for the wrong key. This would cause the hook to
ignore the Consul token we already have and then fail to derive a SI token
unless the Nomad agent has its own token with `acl:write` permission.
Fix the lookup and add tests covering the bypass behavior.
2023-10-23 08:57:02 -04:00
..
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-23 08:57:02 -04:00
2023-09-29 12:46:28 -07:00
2023-10-17 13:46:49 -04:00
2023-10-20 14:03:56 -04:00
2023-08-15 14:38:18 -04:00
2023-08-10 17:27:15 -05:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2023-09-12 09:11:11 -05:00
2023-10-20 13:19:02 -05:00
2023-08-10 17:27:15 -05:00
2023-09-21 16:03:53 -05:00
2023-08-10 17:27:15 -05:00
2023-10-17 13:46:49 -04:00
2023-10-09 09:16:23 -04:00
2023-10-20 13:05:55 -04:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2023-10-20 14:03:56 -04:00
2023-10-18 20:02:35 +02:00
2023-10-16 09:30:24 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-10-20 07:55:22 +01:00
2023-08-10 17:27:15 -05:00
2023-10-20 13:05:55 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-16 09:30:24 -04:00
2023-10-19 15:09:30 -05:00
2023-10-19 15:09:30 -05:00
2023-09-21 16:03:53 -05:00
2023-09-18 10:30:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-09-18 08:58:07 -05:00
2023-08-18 07:47:24 +01:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2023-08-21 16:09:24 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-05 11:41:44 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-13 07:39:06 +01:00