You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rbac(worker): grant cluster-scoped namespaces list to instant-worker
The orphan_sweep_reconciler's PASS 3 enumerates every instant-deploy-*
namespace to find owner-less ones (deployment row / team gone). The
instant-worker SA had only get+delete on namespaces, so ListDeployNamespaces
was denied with a Forbidden error every sweep -> the job errored -> River
retried -> ERROR-level log spam every ~60s.
Adds the `list` verb to the existing instant-worker-stack-cleaner ClusterRole
(namespaces get+list+delete). Per-app namespaces are created on demand by the
api process and cannot be enumerated at RBAC-bind time, so a cluster-scoped
list is required. RBAC is additive — safe to apply.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments