Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 511 for service_account (0.22 sec)

  1. pilot/pkg/serviceregistry/kube/conversion_test.go

    }
    
    func TestServiceConversion(t *testing.T) {
    	serviceName := "service1"
    	namespace := "default"
    	saA := "serviceaccountA"
    	saB := "serviceaccountB"
    	saC := "spiffe://accounts.google.com/serviceaccountC@cloudservices.gserviceaccount.com"
    	saD := "spiffe://accounts.google.com/serviceaccountD@developer.gserviceaccount.com"
    
    	ip := "10.0.0.1"
    
    	tnow := time.Now()
    	localSvc := corev1.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ServiceAccount.yaml

    apiVersion: v1
    automountServiceAccountToken: true
    imagePullSecrets:
    - name: nameValue
    kind: ServiceAccount
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ServiceAccount.json

    {
      "kind": "ServiceAccount",
      "apiVersion": "v1",
      "metadata": {
        "name": "nameValue",
        "generateName": "generateNameValue",
        "namespace": "namespaceValue",
        "selfLink": "selfLinkValue",
        "uid": "uidValue",
        "resourceVersion": "resourceVersionValue",
        "generation": 7,
        "creationTimestamp": "2008-01-01T01:01:01Z",
        "deletionTimestamp": "2009-01-01T01:01:01Z",
        "deletionGracePeriodSeconds": 10,
        "labels": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. pkg/controller/serviceaccount/serviceaccounts_controller.go

    type ServiceAccountsControllerOptions struct {
    	// ServiceAccounts is the list of service accounts to ensure exist in every namespace
    	ServiceAccounts []v1.ServiceAccount
    
    	// ServiceAccountResync is the interval between full resyncs of ServiceAccounts.
    	// If non-zero, all service accounts will be re-listed this often.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. 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)
  6. pkg/controlplane/apiserver/options/options.go

    			if completed.Authentication.ServiceAccounts.MaxExpiration < lowBound ||
    				completed.Authentication.ServiceAccounts.MaxExpiration > upBound {
    				return CompletedOptions{}, fmt.Errorf("the service-account-max-token-expiration must be between 1 hour and 2^32 seconds")
    			}
    			if completed.Authentication.ServiceAccounts.ExtendExpiration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		Addresses: svc.GetAddresses(proxy),
    
    		// This is based on alpha.istio.io/canonical-serviceaccounts and
    		//  alpha.istio.io/kubernetes-serviceaccounts.
    		SubjectAltNames: svc.ServiceAccounts,
    	}
    
    	if len(svc.Attributes.LabelSelectors) > 0 {
    		se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. plugin/pkg/admission/serviceaccount/admission_test.go

    	admit.SetExternalKubeInformerFactory(informerFactory)
    	admit.MountServiceAccountToken = true
    
    	// Add the default service account for the ns into the cache
    	informerFactory.Core().V1().ServiceAccounts().Informer().GetStore().Add(&corev1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      DefaultServiceAccountName,
    			Namespace: ns,
    		},
    	})
    
    	v1PodIn := &corev1.Pod{
    		Spec: corev1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K 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