Timofei Larkin
74a8313d65
[tenant,rbac] Use shared clusterroles
...
## What this PR does
Previously a namespaced role was created per tenant and access level.
Since these roles are all identical, it's sufficient to create a cluster
role per access level and just create namespaced rolebindings to these
cluster roles per tenant. This will enable aggregation rules. E.g. if a
new API group is installed, such as backups.cozystack.io, a new
clusterrole can be created for managing this API group with a label like
rbac.cozystack.io/aggregate-to-admin. Smart use of aggregation rules
will enable automatic granting of access rights not just to admin, but
to super-admin too, and there will be no need to update every single
tenant.
### Release note
```release-note
[tenant,rbac] Use ClusterRoles with aggregationRules instead of roles
per every tenant.
```
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com >
2026-02-08 18:41:48 +03:00
..
2026-01-15 22:35:56 +01:00
2026-02-02 12:34:58 +00:00
2026-02-02 12:34:58 +00:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-02-02 12:34:58 +00:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-20 07:50:59 +00:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-02-02 15:32:50 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-02-08 18:41:48 +03:00
2026-02-02 12:34:58 +00:00
2026-02-04 14:53:28 +03:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-20 03:24:32 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-02-02 12:34:58 +00:00
2026-01-15 16:06:56 +01:00
2026-02-02 13:08:16 +03:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-02-02 12:34:58 +00:00
2026-01-26 18:13:06 +05:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-02-02 12:34:58 +00:00
2026-01-30 23:12:22 +03:00
2026-01-20 03:24:32 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 23:32:41 +00:00
2026-01-15 16:06:56 +01:00
2026-01-20 03:24:32 +01:00
2026-01-29 12:18:35 +01:00
2026-02-04 04:04:00 +01:00
2026-01-20 18:00:13 +05:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-01-20 03:24:32 +01:00
2026-01-15 16:06:56 +01:00
2026-02-04 11:03:04 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-02-02 12:34:58 +00:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-21 17:07:08 +05:00
2026-01-30 23:12:24 +03:00
2026-01-28 20:08:35 +03:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00