Andrei Kvapil
6ba465d40a
fix(linstor): admit only blockstor's own Secret creates
...
RBAC cannot limit create by name, and the blockstor controller and
apiserver need create for the keyring and the generated unlock Secret.
With the name-limited get they also hold, a compromised pod could
create a service-account-token Secret for one of piraeus's
ServiceAccounts in cozy-linstor under a covered name that does not
exist yet, linstor-passphrase on a cluster that never set one, and read
the token back. blockstor's design leaves closing this to the chart.
The policy matches only Secret creates in the release namespace by the
blockstor ServiceAccounts, so it cannot reach piraeus or cert-manager,
and admits the keyring and the unlock Secret with the types blockstor
gives them. The passphrase Secret is not admitted: blockstor never
writes it.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com >
2026-11-29 13:45:12 +01:00
..
2026-11-27 08:33:47 +01:00
2026-11-23 14:16:14 +03:00
2026-11-16 01:07:37 +03:00
2026-11-26 15:59:36 +07:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:37 +03:00
2026-11-23 12:56:00 +01:00
2026-11-16 13:45:17 +03:00
2026-11-16 13:31:47 +03:00
2026-11-23 13:24:41 +01:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-12 22:43:23 +03:00
2026-11-12 22:43:23 +03:00
2026-10-07 14:14:35 +03:00
2026-10-31 23:07:29 +02:00
2026-11-16 01:07:39 +03:00
2026-09-30 04:23:38 +03:00
2026-11-23 08:05:09 +01:00
2026-11-08 19:39:07 +01:00
2026-09-28 21:41:31 +03:00
2026-11-26 16:11:47 +01:00
2026-11-26 16:11:47 +01:00
2026-11-20 00:32:01 +01:00
2026-11-26 16:11:47 +01:00
2026-11-26 14:20:05 +00:00
2026-11-27 08:33:56 +01:00
2026-11-27 08:33:56 +01:00
2026-09-28 21:41:32 +03:00
2026-11-26 14:20:06 +00:00
2026-10-07 16:54:10 +04:00
2026-11-23 08:05:09 +01:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-12 17:46:59 +03:00
2026-09-29 17:09:13 +02:00
2026-11-27 04:21:57 +01:00
2026-11-23 12:56:50 +01:00
2026-09-29 10:50:55 +05:00
2026-11-25 10:54:06 +01:00
2026-11-23 08:05:09 +01:00
2026-11-20 20:18:32 +07:00
2026-11-23 14:11:55 +01:00
2026-11-18 14:42:34 +03:00
2026-10-07 04:38:06 +03:00
2026-11-23 20:52:21 +07:00
2026-11-20 16:23:21 +07:00
2026-11-16 01:07:39 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-16 01:07:37 +03:00
2026-11-26 09:09:59 +00:00
2026-11-27 07:39:01 +00:00
2026-11-27 07:39:01 +00:00
2026-11-24 21:12:05 +03:00
2026-10-07 11:19:32 +03:00
2026-10-10 21:16:11 +03:00
2026-11-16 01:07:37 +03:00
2026-11-29 13:45:12 +01:00
2026-11-29 13:45:11 +01:00
2026-11-29 13:45:11 +01:00
2026-10-07 11:30:45 +03:00
2026-10-27 09:12:25 +01:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:39 +03:00
2026-11-27 08:33:47 +01:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-27 05:39:18 +01:00
2026-11-24 22:04:24 +01:00
2026-11-27 15:18:14 +03:00
2026-11-23 04:14:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:39 +03:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-13 18:18:47 +03:00
2026-11-13 11:05:36 +03:00
2026-09-30 11:11:03 +03:00
2026-11-27 18:21:43 +07:00
2026-10-28 18:38:35 +01:00
2026-11-23 08:05:09 +01:00
2026-09-29 17:08:17 +02:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:37 +03:00
2026-11-23 08:05:09 +01:00
2026-11-24 22:04:23 +01:00
2026-11-23 20:52:21 +07:00
2026-11-24 22:04:23 +01:00
2026-11-16 01:07:37 +03:00
2026-11-25 13:09:44 +03:00
2026-11-16 01:07:39 +03:00
2026-11-23 08:05:09 +01:00
2026-11-25 16:08:29 +03:00
2026-11-23 08:05:09 +01:00
2026-11-16 01:07:37 +03:00
2026-11-14 00:42:05 +03:00
2026-11-25 12:00:48 +01:00
2026-11-17 11:20:20 +03:00
2026-11-27 07:39:01 +00:00
2026-11-25 12:00:48 +01:00
2026-11-23 08:05:09 +01:00