SA controller Run() is now blocking; call via goroutine
@@ -106,7 +106,7 @@ func (c *MasterConfig) RunServiceAccountsController() {
}
//REBASE: add new args to NewServiceAccountsController
- sacontroller.NewServiceAccountsController(c.Informers.KubernetesInformers().ServiceAccounts(), c.Informers.KubernetesInformers().Namespaces(), c.KubeClientset(), options).Run(1, utilwait.NeverStop)
+ go sacontroller.NewServiceAccountsController(c.Informers.KubernetesInformers().ServiceAccounts(), c.Informers.KubernetesInformers().Namespaces(), c.KubeClientset(), options).Run(1, utilwait.NeverStop)
}
// RunServiceAccountTokensController starts the service account token controller
