Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for serviceAccount (0.55 sec)

  1. 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)
  2. 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)
  3. pkg/serviceaccount/jwt_test.go

    }
    
    func generateECDSAToken(t *testing.T, iss string, serviceAccount *v1.ServiceAccount, ecdsaSecret *v1.Secret) string {
    	t.Helper()
    
    	ecdsaGenerator, err := serviceaccount.JWTTokenGenerator(iss, getPrivateKey(ecdsaPrivateKey))
    	if err != nil {
    		t.Fatalf("error making generator: %v", err)
    	}
    	ecdsaToken, err := ecdsaGenerator.GenerateToken(serviceaccount.LegacyClaims(*serviceAccount, *ecdsaSecret))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K 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. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

        name: system:controller:attachdetach-controller
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:controller:attachdetach-controller
      subjects:
      - kind: ServiceAccount
        name: attachdetach-controller
        namespace: kube-system
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        annotations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

          "protocol": "HBONE",
          "uid": "Kubernetes//Pod/bookinfo/ratings-v1-6484c4d9bb-mdxm5",
          "name": "ratings-v1-6484c4d9bb-mdxm5",
          "namespace": "bookinfo",
          "trustDomain": "cluster.local",
          "serviceAccount": "bookinfo-ratings",
          "workloadName": "ratings-v1",
          "workloadType": "deployment",
          "canonicalName": "ratings",
          "canonicalRevision": "v1",
          "network": "network1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/proxy_dependencies_test.go

    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   true,
    		},
    		{
    			name: "no match namespace",
    			identity: []string{
    				spiffe.Identity{TrustDomain: "cluster.local", Namespace: "bad", ServiceAccount: "serviceaccount"}.String(),
    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   false,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	svcPort *networking.ServicePort, svcLabels map[string]string, serviceAccount string,
    ) *model.ServiceInstance {
    	i := makeInstance(cfg, address, port, svcPort, svcLabels, MTLSUnlabelled)
    	i.Endpoint.ServiceAccount = spiffe.MustGenSpiffeURIForTrustDomain("cluster.local", i.Service.Attributes.Namespace, serviceAccount)
    	return i
    }
    
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  9. samples/addons/prometheus.yaml

    ---
    # Source: prometheus/templates/serviceaccount.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        app.kubernetes.io/component: server
        app.kubernetes.io/name: prometheus
        app.kubernetes.io/instance: prometheus
        app.kubernetes.io/version: v2.52.0
        helm.sh/chart: prometheus-25.21.0
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/part-of: prometheus
      name: prometheus
      namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. pkg/spiffe/spiffe.go

    func genSpiffeURI(td string, ns, serviceAccount string) (string, error) {
    	var err error
    	if ns == "" || serviceAccount == "" {
    		err = fmt.Errorf(
    			"namespace or service account empty for SPIFFE uri ns=%v serviceAccount=%v", ns, serviceAccount)
    	}
    	return URIPrefix + sanitizeTrustDomain(td) + "/ns/" + ns + "/sa/" + serviceAccount, err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top