- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serviceAccountDeleted (0.23 sec)
-
pkg/controller/serviceaccount/serviceaccounts_controller.go
for i := 0; i < workers; i++ { go wait.UntilWithContext(ctx, c.runWorker, time.Second) } <-ctx.Done() } // serviceAccountDeleted reacts to a ServiceAccount deletion by recreating a default ServiceAccount in the namespace if needed func (c *ServiceAccountsController) serviceAccountDeleted(obj interface{}) { sa, ok := obj.(*v1.ServiceAccount) if !ok { tombstone, ok := obj.(cache.DeletedFinalStateUnknown) if !ok {
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
} if tc.UpdatedNamespace != nil { nsStore.Add(tc.UpdatedNamespace) controller.namespaceUpdated(nil, tc.UpdatedNamespace) } if tc.DeletedServiceAccount != nil { controller.serviceAccountDeleted(tc.DeletedServiceAccount) } // wait to be called select { case <-syncCalls: case <-time.After(10 * time.Second): t.Errorf("%s: took too long", k) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 03 00:46:06 UTC 2021 - 7.6K bytes - Viewed (0)