Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 737 for serviceAccount (0.26 sec)

  1. pkg/kubeapiserver/options/admission_test.go

    	options.PluginNames = []string{"ServiceAccount"}
    	options.GenericAdmission.EnablePlugins = []string{"NodeRestriction"}
    	if len(options.Validate()) == 0 {
    		t.Errorf("Expect error, but got none")
    	}
    
    	// 2. Both `--admission-control` and `--disable-admission-plugins` are specified
    	options = NewAdmissionOptions()
    	options.PluginNames = []string{"ServiceAccount"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 15 01:51:35 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/mesh.yaml.golden

        ISTIO_META_NETWORK: ""
        ISTIO_META_WORKLOAD_NAME: foo
        ISTIO_METAJSON_LABELS: '{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
        POD_NAMESPACE: bar
        SERVICE_ACCOUNT: vm-serviceaccount
        TRUST_DOMAIN: ""
      readinessProbe:
        httpGet:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 500 bytes
    - Viewed (0)
  3. 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)
  4. samples/bookinfo/platform/kube/bookinfo-dualstack.yaml

    #
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l service=reviews # reviews Service
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l account=reviews # reviews ServiceAccount
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l app=reviews,version=v3 # reviews-v3 Deployment
    ##################################################################################################
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. pkg/registry/core/rest/storage_core_generic.go

    	resourcequotastore "k8s.io/kubernetes/pkg/registry/core/resourcequota/storage"
    	secretstore "k8s.io/kubernetes/pkg/registry/core/secret/storage"
    	serviceaccountstore "k8s.io/kubernetes/pkg/registry/core/serviceaccount/storage"
    	"k8s.io/kubernetes/pkg/serviceaccount"
    )
    
    // GenericConfig provides information needed to build RESTStorage
    // for generic resources in core. It implements the "normal" RESTStorageProvider interface.
    type GenericConfig struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: {{.ServiceAccount | quote}}
      namespace: {{.Namespace | quote}}
      annotations:
        {{- toJsonMap (omit .InfrastructureAnnotations "kubectl.kubernetes.io/last-applied-configuration" "gateway.istio.io/name-override" "gateway.istio.io/service-account" "gateway.istio.io/controller-version") | nindent 4 }}
      labels:
        {{- toJsonMap
          .InfrastructureLabels
          (strdict
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go

    			},
    		},
    		Type: v1.SecretTypeOpaque,
    	}
    
    	saIns := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "default",
    			UID:             "12345",
    			Namespace:       "default",
    			ResourceVersion: "1",
    		},
    	}
    
    	saInsNameNotEqual := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "non-default",
    			UID:             "12345",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/authz.go

    //
    //	authorizer.serviceAccount('default', 'myserviceaccount') // returns an Authorizer for the service account with namespace 'default' and name 'myserviceaccount'
    //	authorizer.serviceAccount('not@a#valid!namespace', 'validname') // returns an error
    //	authorizer.serviceAccount('valid.example.com', 'invalid@*name') // returns an error
    //
    // resource
    //
    // Returns a ResourceCheck configured to check authorization for a particular API resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 21.1K 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/test/framework/components/istio/ca.go

    }
    
    func CreateCertificate(t framework.TestContext, i Instance, serviceAccount, namespace string) (Cert, error) {
    	c := t.Clusters().Default()
    	rootCert, err := FetchRootCert(c.Kube())
    	if err != nil {
    		return Cert{}, fmt.Errorf("failed to fetch root cert: %v", err)
    	}
    
    	token, err := GetServiceAccountToken(c.Kube(), "istio-ca", namespace, serviceAccount)
    	if err != nil {
    		return Cert{}, err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top