Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLegacyServiceAccountTokenCleanUp (0.43 sec)

  1. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    	patch, _ := json.Marshal(applyv1.Secret(name, namespace).WithUID(uID).WithLabels(map[string]string{serviceaccount.InvalidSinceLabelKey: invalidSince}))
    	return patch
    }
    
    func TestLegacyServiceAccountTokenCleanUp(t *testing.T) {
    	testcases := map[string]struct {
    		LegacyTokenCleanUpPeriod time.Duration
    
    		ExistingServiceAccount *v1.ServiceAccount
    		ExistingSecret         *v1.Secret
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top