Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 393 for ServiceAccountName (0.31 sec)

  1. pkg/serviceaccount/legacy.go

    	}
    	secretName := private.SecretName
    	if len(secretName) == 0 {
    		return nil, errors.New("secretName claim is missing")
    	}
    	serviceAccountName := private.ServiceAccountName
    	if len(serviceAccountName) == 0 {
    		return nil, errors.New("serviceAccountName claim is missing")
    	}
    	serviceAccountUID := private.ServiceAccountUID
    	if len(serviceAccountUID) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/deployment-multi-service.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
            - name: details
              image: docker.io/istio/examples-bookinfo-details-v1:1.15.0
              imagePullPolicy: IfNotPresent
              ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 21:52:53 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. samples/bookinfo/platform/kube/bookinfo-psa.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
          - name: details
            image: docker.io/istio/examples-bookinfo-details-v1:1.20.1
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. samples/bookinfo/platform/kube/bookinfo.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
          - name: details
            image: docker.io/istio/examples-bookinfo-details-v1:1.20.1
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pkg/config/model_test.go

    				c.(*networking.VirtualService).Gateways = []string{"bar"}
    				return c
    			},
    			protocmp.Transform(),
    		},
    		// Kubernetes type
    		{
    			&corev1.PodSpec{ServiceAccountName: "foobar"},
    			func(c Spec) Spec {
    				c.(*corev1.PodSpec).ServiceAccountName = "bar"
    				return c
    			},
    			nil,
    		},
    		// gateway-api type
    		{
    			&k8s.GatewayClassSpec{ControllerName: "foo"},
    			func(c Spec) Spec {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. samples/bookinfo/platform/kube/bookinfo-dualstack.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
          - name: details
            image: docker.io/istio/examples-bookinfo-details-v1:1.20.1
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. plugin/pkg/admission/serviceaccount/admission.go

    	// Set the default service account if needed
    	if len(pod.Spec.ServiceAccountName) == 0 {
    		pod.Spec.ServiceAccountName = DefaultServiceAccountName
    	}
    
    	serviceAccount, err := s.getServiceAccount(a.GetNamespace(), pod.Spec.ServiceAccountName)
    	if err != nil {
    		return admission.NewForbidden(a, fmt.Errorf("error looking up service account %s/%s: %w", a.GetNamespace(), pod.Spec.ServiceAccountName, err))
    	}
    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. plugin/pkg/admission/serviceaccount/admission_test.go

    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if pod.Spec.ServiceAccountName != DefaultServiceAccountName {
    		t.Errorf("Expected service account %s assigned, got %s", DefaultServiceAccountName, pod.Spec.ServiceAccountName)
    	}
    }
    
    func TestDeniesInvalidServiceAccount(t *testing.T) {
    	ns := "myns"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. samples/ambient-argo/application/reviews.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: reviews
          version: v1
      template:
        metadata:
          labels:
            app: reviews
            version: v1
        spec:
          serviceAccountName: bookinfo-reviews
          containers:
          - name: reviews
            image: docker.io/istio/examples-bookinfo-reviews-v1:1.18.0
            imagePullPolicy: IfNotPresent
            env:
            - name: LOG_DIR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// ServiceAccountName is the name of the ServiceAccount to use to run this pod.
    	// More info: https://kubernetes.io/docs/concepts/security/service-accounts/
    	// +optional
    	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,8,opt,name=serviceAccountName"`
    	// DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
    	// Deprecated: Use serviceAccountName instead.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top