mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-21 19:41:26 +00:00
## What this PR does This patch changes all clients in the Cozystack API server to typed ones from the controller runtime. This should improve the performance of the API server and simplifies the code by removing work with unstructured objects and dynamic clients. ### Release note ```release-note [api] Use typed and cache-backed k8s clients in the Cozystack API to improve performance. Get rid of operations on unstructured objects and use of dynamic clients. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Backend migrated to a controller-runtime manager with typed clients for Kubernetes resources, improving watch reliability and cache sync. * Storage paths for applications, tenant modules, namespaces, and secrets now use strongly-typed resource handling for more consistent behavior. * **Chores** * Cluster role expanded to include services in core API permissions. * **Notes** * No user-facing API schema changes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->