Merge pull request #105550 from damemi/wire-contexts-rbac

Wire contexts to RBAC controllers
This commit is contained in:
Kubernetes Prow Robot
2021-11-11 15:15:25 -08:00
committed by GitHub
3 changed files with 20 additions and 19 deletions

View File

@@ -31,6 +31,6 @@ func startClusterRoleAggregrationController(ctx context.Context, controllerConte
go clusterroleaggregation.NewClusterRoleAggregation(
controllerContext.InformerFactory.Rbac().V1().ClusterRoles(),
controllerContext.ClientBuilder.ClientOrDie("clusterrole-aggregation-controller").RbacV1(),
).Run(5, ctx.Done())
).Run(ctx, 5)
return nil, true, nil
}