Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 898 for serviceAccount (0.28 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/core.v1.ServiceAccount.pb

    Daniel Smith <******@****.***> 1651776874 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 508 bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.ServiceAccount.pb

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 508 bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/tokens_controller_test.go

    		ExpectedActions []core.Action
    	}{
    		"new serviceaccount with no secrets": {
    			ClientObjects: []runtime.Object{serviceAccount(emptySecretReferences())},
    
    			AddedServiceAccount: serviceAccount(emptySecretReferences()),
    			ExpectedActions:     []core.Action{},
    		},
    		"new serviceaccount with missing secrets": {
    			ClientObjects: []runtime.Object{serviceAccount(missingSecretReferences())},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. pkg/controller/serviceaccount/serviceaccounts_controller_test.go

    	}{
    		"new active namespace missing serviceaccounts": {
    			ExistingServiceAccounts:      []*v1.ServiceAccount{},
    			AddedNamespace:               activeNS,
    			ExpectCreatedServiceAccounts: sets.NewString(defaultName, managedName).List(),
    		},
    		"new active namespace missing serviceaccount": {
    			ExistingServiceAccounts:      []*v1.ServiceAccount{managedServiceAccount},
    			AddedNamespace:               activeNS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 00:46:06 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. plugin/pkg/admission/serviceaccount/admission.go

    // 1. If the pod does not specify a ServiceAccount, it sets the pod's ServiceAccount to "default"
    // 2. It ensures the ServiceAccount referenced by the pod exists
    // 3. If LimitSecretReferences is true, it rejects the pod if the pod references Secret objects which the pod's ServiceAccount does not reference
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/tokens_controller.go

    	if serviceAccount, ok := obj.(*v1.ServiceAccount); ok {
    		e.syncServiceAccountQueue.Add(makeServiceAccountKey(serviceAccount))
    	}
    }
    
    func (e *TokensController) queueServiceAccountUpdateSync(oldObj interface{}, newObj interface{}) {
    	if serviceAccount, ok := newObj.(*v1.ServiceAccount); ok {
    		e.syncServiceAccountQueue.Add(makeServiceAccountKey(serviceAccount))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. pkg/serviceaccount/jwt_test.go

    }
    
    func generateECDSAToken(t *testing.T, iss string, serviceAccount *v1.ServiceAccount, ecdsaSecret *v1.Secret) string {
    	t.Helper()
    
    	ecdsaGenerator, err := serviceaccount.JWTTokenGenerator(iss, getPrivateKey(ecdsaPrivateKey))
    	if err != nil {
    		t.Fatalf("error making generator: %v", err)
    	}
    	ecdsaToken, err := ecdsaGenerator.GenerateToken(serviceaccount.LegacyClaims(*serviceAccount, *ecdsaSecret))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. pilot/pkg/model/endpointshards_test.go

    				{Address: "10.172.0.2", ServiceAccount: "sa-vm1"},
    			},
    			expect: false,
    		},
    		{
    			name:     "deleted one endpoint with unique sa",
    			shardKey: c1Key,
    			endpoints: []*IstioEndpoint{
    				{Address: "10.172.0.1", ServiceAccount: "sa1"},
    			},
    			expect: true,
    		},
    		{
    			name:     "deleted one endpoint with duplicate sa",
    			shardKey: c1Key,
    			endpoints: []*IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. pkg/registry/core/serviceaccount/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &api.ServiceAccountList{} },
    		DefaultQualifiedResource:  api.Resource("serviceaccounts"),
    		SingularQualifiedResource: api.Resource("serviceaccount"),
    
    		CreateStrategy:      serviceaccount.Strategy,
    		UpdateStrategy:      serviceaccount.Strategy,
    		DeleteStrategy:      serviceaccount.Strategy,
    		ReturnDeletedObject: true,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. pkg/registry/core/serviceaccount/storage/storage_test.go

    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	serviceAccount := validNewServiceAccount("foo")
    	serviceAccount.ObjectMeta = metav1.ObjectMeta{GenerateName: "foo-"}
    	test.TestCreate(
    		// valid
    		serviceAccount,
    		// invalid
    		&api.ServiceAccount{},
    		&api.ServiceAccount{
    			ObjectMeta: metav1.ObjectMeta{Name: "name with spaces"},
    		},
    	)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top