- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DefaultServiceAccountsControllerOptions (0.64 sec)
-
pkg/controller/serviceaccount/serviceaccounts_controller.go
// Otherwise, re-list will be delayed as long as possible (until the watch is closed or times out). NamespaceResync time.Duration } // DefaultServiceAccountsControllerOptions returns the default options for creating a ServiceAccountsController. func DefaultServiceAccountsControllerOptions() ServiceAccountsControllerOptions { return ServiceAccountsControllerOptions{ ServiceAccounts: []v1.ServiceAccount{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/controller/serviceaccount/serviceaccounts_controller_test.go
client := fake.NewSimpleClientset(defaultServiceAccount, managedServiceAccount) informers := informers.NewSharedInformerFactory(fake.NewSimpleClientset(), controller.NoResyncPeriodFunc()) options := DefaultServiceAccountsControllerOptions() options.ServiceAccounts = []v1.ServiceAccount{ {ObjectMeta: metav1.ObjectMeta{Name: defaultName}}, {ObjectMeta: metav1.ObjectMeta{Name: managedName}}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 03 00:46:06 UTC 2021 - 7.6K bytes - Viewed (0) -
cmd/kube-controller-manager/app/core.go
controllerContext.InformerFactory.Core().V1().Namespaces(), controllerContext.ClientBuilder.ClientOrDie("service-account-controller"), serviceaccountcontroller.DefaultServiceAccountsControllerOptions(), ) if err != nil { return nil, true, fmt.Errorf("error creating ServiceAccount controller: %v", err) } go sac.Run(ctx, 1) return nil, true, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 39K bytes - Viewed (0)