mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-30 00:27:04 +09:00
Tenant admins and above create, change and delete GPUDevice objects in their namespaces where GPUs are on. The grant renders under the same conditions as the policy that keeps tenants off a device's finalizers and template mark, so no tenant can order without it; the GPU webhook checks each order's budget and entitlement. Status holds a device's binding and attachment and stays a subresource no tenant role grants. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>