Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 716 for serviceAccounts (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	external bool, resolution model.Resolution, serviceAccounts ...string,
    ) *model.Service {
    	svc := &model.Service{
    		CreationTime:    GlobalTime,
    		Hostname:        hostname,
    		DefaultAddress:  address,
    		MeshExternal:    external,
    		Resolution:      resolution,
    		ServiceAccounts: serviceAccounts,
    		Attributes: model.ServiceAttributes{
    			ServiceRegistry: provider.External,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    			initConfiguration.ClusterConfiguration.ImageRepository = "someRepo"
    
    			// Simulate an error if necessary
    			switch tc.simError {
    			case ServiceAccountError:
    				client.PrependReactor("create", "serviceaccounts", func(action core.Action) (bool, runtime.Object, error) {
    					return true, nil, apierrors.NewUnauthorized("")
    				})
    			case InvalidControlPlaneEndpoint:
    				initConfiguration.LocalAPIEndpoint.AdvertiseAddress = "1.2.3"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K bytes
    - Viewed (0)
  8. tests/integration/pilot/multicluster_test.go

    				sa  = "istio-reader-no-perms"
    				pod = "istiod-bad-secrets-test"
    			)
    			t.Logf("creating service account %s/%s", ns, sa)
    			if _, err := remote.Kube().CoreV1().ServiceAccounts(ns).Create(context.TODO(), &corev1.ServiceAccount{
    				ObjectMeta: metav1.ObjectMeta{Name: sa},
    			}, metav1.CreateOptions{}); err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/grpcgen/cds.go

    		// TODO support this
    	case networking.ClientTLSSettings_MUTUAL:
    		// TODO support this
    	case networking.ClientTLSSettings_ISTIO_MUTUAL:
    		tlsCtx := buildUpstreamTLSContext(b.push.ServiceAccounts(b.hostname, b.svc.Attributes.Namespace))
    		c.TransportSocket = &core.TransportSocket{
    			Name:       transportSocketName,
    			ConfigType: &core.TransportSocket_TypedConfig{TypedConfig: protoconv.MessageToAny(tlsCtx)},
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/xds/cds_test.go

    	}{
    		{
    			name:    "Kubernetes service and EDS ServiceEntry",
    			objs:    []runtime.Object{service, pod, endpoint},
    			configs: []config.Config{dr, seEDS},
    			// The ServiceEntry rule will "win" the pushContext.ServiceAccounts.
    			// However, the Service will be processed first into a cluster. Since its not external, we do not add the SANs automatically
    			sans: nil,
    		},
    		{
    			name:    "Kubernetes service and NONE ServiceEntry",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top