Commit b6b7ac7
committed
fix(rbac): grant the manager watch on namespaces
The federator resolves WorkloadDeployment source namespaces through an
informer, which needs watch in addition to get/list. With watch
forbidden, the cache only refreshes on periodic re-lists whose backoff
grows as the denied watch keeps retrying, so namespaces created after
manager startup stay invisible for minutes and their WorkloadDeployments
never federate.
Second production RBAC gap surfaced by running the operators in-cluster
under their real ServiceAccount (after the networks grant).1 parent 413cf8a commit b6b7ac7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments