Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 779 for serviceAccounts (0.5 sec)

  1. istioctl/pkg/workload/workload_test.go

    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    				client.Kube().CoreV1().ServiceAccounts("bar").Create(context.Background(), &v1.ServiceAccount{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "vm-serviceaccount"},
    					Secrets:    []v1.ObjectReference{{Name: "test"}},
    				}, metav1.CreateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/templates/clusterrole.yaml

        verbs: [ "get", "watch", "list", "update", "patch", "create", "delete" ]
        resources: [ "services" ]
      - apiGroups: [""]
        verbs: [ "get", "watch", "list", "update", "patch", "create", "delete" ]
        resources: [ "serviceaccounts"]
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	pvResource            = api.Resource("persistentvolumes")
    	resourceClaimResource = resourceapi.Resource("resourceclaims")
    	vaResource            = storageapi.Resource("volumeattachments")
    	svcAcctResource       = api.Resource("serviceaccounts")
    	leaseResource         = coordapi.Resource("leases")
    	csiNodeResource       = storageapi.Resource("csinodes")
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. pkg/serviceaccount/claims_test.go

    }
    
    type fakeGetter struct {
    	serviceAccount *v1.ServiceAccount
    	secret         *v1.Secret
    	pod            *v1.Pod
    	node           *v1.Node
    }
    
    func (f fakeGetter) GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error) {
    	if f.serviceAccount == nil {
    		return nil, apierrors.NewNotFound(schema.GroupResource{Group: "", Resource: "serviceaccounts"}, name)
    	}
    	return f.serviceAccount, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    			accounts = shard.ServiceAccounts.Copy()
    			shard.RUnlock()
    		}
    		if len(svc.ServiceAccounts) > 0 {
    			if accounts == nil {
    				accounts = sets.New(svc.ServiceAccounts...)
    			} else {
    				accounts = accounts.InsertAll(svc.ServiceAccounts...)
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    			case v1.SchemeGroupVersion.WithKind("ServiceAccount").GroupKind():
    				actingAsAttributes.Resource = "serviceaccounts"
    				username = serviceaccount.MakeUsername(impersonationRequest.Namespace, impersonationRequest.Name)
    				if !groupsSpecified {
    					// if groups aren't specified for a service account, we know the groups because its a fixed mapping.  Add them
    					groups = serviceaccount.MakeGroupNames(impersonationRequest.Namespace)
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. cmd/kube-apiserver/app/testing/testserver.go

    		t.Fatalf("write file %s failed: %v", saSigningKeyFile.Name(), err)
    	}
    	s.ServiceAccountSigningKeyFile = saSigningKeyFile.Name()
    	s.Authentication.ServiceAccounts.Issuers = []string{"https://foo.bar.example.com"}
    	s.Authentication.ServiceAccounts.KeyFiles = []string{saSigningKeyFile.Name()}
    
    	completedOptions, err := s.Complete()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/idempotency.go

    			ctx := context.Background()
    			if _, err := client.CoreV1().ServiceAccounts(sa.ObjectMeta.Namespace).Create(ctx, sa, metav1.CreateOptions{}); err != nil {
    				if !apierrors.IsAlreadyExists(err) {
    					lastError = errors.Wrap(err, "unable to create ServicAccount")
    					return false, nil
    				}
    				if _, err := client.CoreV1().ServiceAccounts(sa.ObjectMeta.Namespace).Update(ctx, sa, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "disallowed svcacct token create - serviceaccount not attached to node",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "create", Resource: "serviceaccounts", Subresource: "token", Name: "svcacct0-node1", Namespace: "ns0"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  10. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    			nsInformer := informers.Core().V1().Namespaces()
    			controller, err := NewPublisher(cmInformer, nsInformer, client, fakeRootCA)
    			if err != nil {
    				t.Fatalf("error creating ServiceAccounts controller: %v", err)
    			}
    
    			cmStore := cmInformer.Informer().GetStore()
    
    			controller.syncHandler = controller.syncNamespace
    
    			for _, s := range tc.ExistingConfigMaps {
    				cmStore.Add(s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top