mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Add integration test for ttlcontroller.
This commit is contained in:
@@ -144,7 +144,7 @@ func startServiceAccountController(ctx ControllerContext) (bool, error) {
|
||||
|
||||
func startTTLController(ctx ControllerContext) (bool, error) {
|
||||
go ttlcontroller.NewTTLController(
|
||||
ctx.InformerFactory.Nodes(),
|
||||
ctx.NewInformerFactory.Core().V1().Nodes(),
|
||||
ctx.ClientBuilder.ClientOrDie("ttl-controller"),
|
||||
).Run(5, ctx.Stop)
|
||||
return true, nil
|
||||
|
||||
Reference in New Issue
Block a user