Skip to content

Commit b6b7ac7

Browse files
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

File tree

config/components/controller_rbac/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ rules:
3131
verbs:
3232
- get
3333
- list
34+
- watch
3435
- apiGroups:
3536
- compute.datumapis.com
3637
resources:

0 commit comments

Comments
 (0)