Aleksei Sviridkin
7e26358817
test(nats): pin the tenant-CA anchor and key-bearing Secret exclusion
...
The ResourceDefinition and the dashboard Role are the tenant-facing half of
the trust-anchor delivery path, and neither is a chart template, so the
helm-unittest suite covers neither. Deleting the tenant-CA selector or
granting a key-bearing Secret by name both left the suite fully green.
nats-<name>-ca holds the CA private key and nats-<name>-tls the server key.
Granting either to a tenant would let the holder issue certificates rather
than merely verify them. What a client needs is ca.crt alone, delivered as
the key-free <release>.tenant-ca projection and selected by label, since a
label is stamped only on an object the platform produced while a name grant
conveys whatever occupies the name.
The include set is asserted as a whitelist so a key-bearing Secret cannot
slip in under a spelling the test did not anticipate.
Signed-off-by: Aleksei Sviridkin <f@lex.la >
Assisted-By: Claude <noreply@anthropic.com >
2026-08-12 18:42:13 +03:00
..
2026-07-15 15:31:45 +03:00
2026-08-12 15:35:41 +05:00
2026-08-05 14:19:47 +03:00
2026-07-27 14:03:49 +05:00
2026-08-05 16:03:57 +03:00
2026-08-07 23:53:40 +03:00
2025-01-09 12:24:51 +01:00
2026-08-07 23:53:40 +03:00
2026-06-25 10:21:05 +05:00
2026-06-24 23:17:25 +03:00
2026-08-09 14:42:19 +03:00
2026-08-05 17:37:04 +03:00
2026-04-14 19:59:19 +05:00
2026-07-24 11:34:17 +05:00
2026-06-24 22:43:56 +03:00
2026-08-05 16:03:57 +03:00
2026-08-05 16:03:57 +03:00
2026-08-05 16:03:57 +03:00
2026-04-11 17:07:35 +03:00
2026-05-27 16:21:46 +03:00
2026-05-27 11:16:41 +03:00
2026-07-14 13:08:54 +03:00
2026-08-12 18:42:13 +03:00
2025-12-25 16:54:22 +01:00
2026-05-12 03:04:48 +03:00
2026-06-30 19:40:47 +03:00
2026-08-05 14:19:47 +03:00
2026-08-10 10:30:30 +02:00
2025-07-03 14:26:56 +03:00
2026-07-29 17:47:28 +05:00
2026-07-29 17:47:28 +05:00
2026-08-05 17:37:04 +03:00
2026-08-07 14:38:29 +03:00
2026-08-07 23:53:40 +03:00
2026-08-07 14:38:29 +03:00
2026-06-24 15:32:52 +03:00
2026-08-08 17:08:54 +03:00
2026-08-09 04:08:35 +03:00
2026-04-30 14:52:56 +03:00
2026-02-17 22:54:12 +01:00
2026-07-14 17:07:47 +03:00
2026-08-09 14:42:19 +03:00
2026-08-05 17:37:04 +03:00
2026-08-11 02:31:27 +03:00
2026-06-30 19:40:47 +03:00
2026-08-09 16:17:44 +03:00
2026-08-09 16:17:44 +03:00
2026-08-10 00:10:53 +03:00
2026-08-11 02:31:27 +03:00
2026-05-25 11:56:30 +05:00
2026-07-09 18:21:07 +05:00
2026-08-07 23:53:40 +03:00
2026-07-19 20:16:01 +03:00
2026-08-08 02:26:19 +03:00
2026-08-09 16:17:33 +03:00
2026-08-08 16:46:36 +03:00
2026-08-08 16:46:36 +03:00
2026-07-21 23:15:46 +05:00
2026-06-30 12:08:18 +05:00
2026-08-07 06:49:56 +03:00
2026-07-14 14:37:52 +03:00
2026-03-03 19:10:39 +05:00
2026-07-20 11:29:09 +05:00
2026-07-20 15:40:49 +05:00
2026-07-08 22:27:42 +03:00
2026-08-07 23:53:40 +03:00
2026-08-07 23:53:40 +03:00
2026-07-28 18:07:34 +02:00
2026-08-07 23:53:40 +03:00
2026-06-30 16:56:33 +03:00
2026-01-15 16:06:56 +01:00
2026-07-24 18:16:16 +05:00
2026-08-05 16:46:50 +03:00
2026-08-10 00:10:53 +03:00
2024-10-21 11:59:56 +02:00
2026-08-10 12:08:02 +03:00
2026-08-05 16:03:57 +03:00
2026-07-27 13:56:45 +05:00
2026-08-05 14:19:47 +03:00
2026-07-21 21:08:15 +05:00
2026-08-07 23:53:40 +03:00
2026-08-07 23:53:40 +03:00
2026-08-11 19:40:01 +05:00
2026-08-05 16:03:57 +03:00
2026-07-08 18:06:22 +05:00
2026-08-09 02:51:06 +03:00
2026-08-09 02:51:06 +03:00
2026-08-08 05:48:38 +03:00
2026-08-07 23:53:40 +03:00
2026-08-09 16:17:44 +03:00
2026-08-11 02:31:27 +03:00
2026-07-20 15:40:48 +05:00
2026-07-27 13:52:59 +05:00
2026-07-27 13:52:59 +05:00
2026-07-24 18:16:16 +05:00
2026-08-09 22:24:37 +03:00
2026-08-10 21:17:47 +04:00
2026-08-05 16:03:57 +03:00
2026-07-30 16:04:03 +04:00
2026-08-09 13:31:54 +03:00
2026-08-09 16:17:26 +03:00
2026-08-07 14:38:06 +03:00
2026-07-21 23:59:48 +03:00
2026-01-19 13:59:29 +01:00
2026-03-25 15:57:25 +05:00
2025-11-26 20:18:43 +01:00
2026-07-24 11:34:17 +05:00