Aleksei Sviridkin
d060ebdefe
feat(cozystack-controller): grant the GPU controller its writes
...
The binder writes finalizers and status on GPU classes, devices and
nodes, deletes template devices with their VMI, and deletes the
unscheduled VMI of a device that must leave its node; the admission
webhook in the same binary creates template devices.
The settings ConfigMap is the only ConfigMap the controller writes, so
its rights live in a Role in cozy-system rather than the ClusterRole:
get, update and patch are scoped to that object by name, and create,
which RBAC cannot scope by name, is scoped by the namespace.
With --metrics-secure the metrics endpoint authenticates and authorizes
each scrape through TokenReview and SubjectAccessReview, so the
controller needs create on both for the GPU metrics to be scraped.
Signed-off-by: Aleksei Sviridkin <f@lex.la >
Assisted-by: LLM
2026-10-21 05:24:05 +03:00
..
2026-09-23 00:05:35 +03:00
2026-10-01 19:37:00 +03:00
2026-10-14 13:31:48 +00:00
2026-10-12 13:09:23 +02:00
2026-10-12 13:09:23 +02:00
2026-09-25 16:26:13 +02:00
2026-10-05 14:14:47 +03:00
2026-10-01 19:37:00 +03:00
2026-09-25 16:23:45 +02:00
2026-09-25 16:23:45 +02:00
2026-10-07 14:14:35 +03:00
2026-08-07 14:36:06 +03:00
2026-09-07 02:23:47 +03:00
2026-10-10 16:59:17 +03:00
2026-09-30 04:23:38 +03:00
2026-08-24 23:41:27 +03:00
2026-08-25 16:39:19 +03:00
2026-09-28 21:41:31 +03:00
2026-10-05 15:14:25 +03:00
2026-10-06 16:39:23 +03:00
2026-10-21 05:24:05 +03:00
2026-09-28 21:41:32 +03:00
2026-10-11 18:56:38 +03:00
2026-10-07 16:54:10 +04:00
2026-09-23 21:22:43 +04:00
2026-09-01 12:47:46 +03:00
2026-07-20 04:49:57 +03:00
2026-10-01 19:37:00 +03:00
2026-10-01 19:37:00 +03:00
2026-09-07 17:03:44 +02:00
2026-09-07 17:03:44 +02:00
2026-09-26 20:30:50 +03:00
2026-09-03 22:17:04 +03:00
2026-09-29 17:09:13 +02:00
2026-09-24 16:55:04 +03:00
2026-10-01 19:37:00 +03:00
2026-09-24 15:53:00 +03:00
2026-09-29 10:50:55 +05:00
2026-10-09 02:04:40 +03:00
2026-10-11 12:39:37 +03:00
2026-09-23 10:59:51 +03:00
2026-10-05 15:14:48 +03:00
2026-10-07 04:38:06 +03:00
2026-10-11 00:32:54 +02:00
2026-09-29 17:10:10 +02:00
2026-10-05 14:14:47 +03:00
2026-10-05 14:14:47 +03:00
2026-10-05 14:14:47 +03:00
2026-10-01 19:37:00 +03:00
2026-10-09 02:04:40 +03:00
2026-10-11 01:23:10 +02:00
2026-10-07 05:04:06 +03:00
2026-09-29 22:15:59 +03:00
2026-09-27 07:57:31 +03:00
2026-10-07 11:19:32 +03:00
2026-09-23 20:07:06 +04:00
2026-10-10 21:16:11 +03:00
2026-08-21 15:51:53 +03:00
2026-09-07 01:23:29 +03:00
2026-10-01 19:37:00 +03:00
2026-10-12 17:25:22 +03:00
2026-10-07 04:38:06 +03:00
2026-10-01 22:27:17 +03:00
2026-10-07 11:30:45 +03:00
2026-09-28 17:41:20 +05:30
2026-09-24 18:10:57 +03:00
2026-09-26 14:32:44 +03:00
2026-07-20 05:24:04 +03:00
2026-10-01 19:37:00 +03:00
2026-09-29 10:14:44 +04:00
2026-10-12 19:45:24 +03:00
2026-10-10 22:38:07 +03:00
2026-10-06 09:39:04 +03:00
2026-10-10 20:59:26 +03:00
2026-08-12 18:42:13 +03:00
2026-10-05 14:14:47 +03:00
2026-10-08 22:39:10 +03:00
2026-10-05 14:14:47 +03:00
2026-09-11 01:23:13 +03:00
2026-08-12 15:28:37 +03:00
2026-09-30 13:53:06 +03:00
2026-09-30 11:11:03 +03:00
2026-10-11 00:26:22 +05:00
2026-08-07 14:37:46 +03:00
2026-09-29 21:04:05 +02:00
2026-08-09 21:06:46 +03:00
2026-09-29 17:08:17 +02:00
2026-09-22 17:47:55 +04:00
2026-10-10 01:18:13 +05:00
2026-10-12 02:03:17 +05:00
2026-07-28 12:16:57 +03:00
2026-10-13 16:22:45 +03:00
2026-09-17 00:54:48 +03:00
2026-10-01 19:37:00 +03:00
2026-09-24 16:55:04 +03:00
2026-09-23 11:18:19 +04:00
2026-10-06 09:39:04 +03:00
2026-09-01 11:43:10 +04:00
2026-10-10 01:18:13 +05:00
2026-10-01 22:27:17 +03:00
2026-08-07 14:37:46 +03:00
2026-09-29 18:47:18 +03:00
2026-09-29 22:15:58 +03:00
2026-10-02 14:01:13 +03:00
2026-10-06 16:11:33 +03:00
2026-08-07 14:37:46 +03:00
2026-08-03 14:08:36 +03:00