rdev/internal/adapter/deployer
jordan 043cc8c63b fix: ensureNamespace uses Get-then-Create to avoid RBAC failures
The deployer was blindly calling Namespaces().Create() which triggered
cluster-scope RBAC checks even when the namespace already existed.
Now checks with Get() first and only creates if NotFound.

Also adds namespace get/create and secrets create/update/patch
permissions to the rdev-api-deployer ClusterRole.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 21:34:32 -07:00
..
deployer.go refactor: Split large files to comply with 500-line limit 2026-01-25 23:02:31 -07:00
resources.go fix: ensureNamespace uses Get-then-Create to avoid RBAC failures 2026-01-28 21:34:32 -07:00