Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 182 for service_account (0.32 sec)

  1. 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)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    					Namespace:         testNS,
    					Addresses:         [][]byte{parseIP("140.140.0.10")},
    					Network:           testNW,
    					CanonicalName:     "a",
    					CanonicalRevision: "latest",
    					ServiceAccount:    "sa1",
    					WorkloadType:      workloadapi.WorkloadType_POD,
    					WorkloadName:      "name0",
    					ClusterId:         testC,
    				},
    			},
    		},
    	}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/deployment/echos.go

    		Service:                 ASvc,
    		ServiceAccount:          true,
    		Ports:                   ports.All(),
    		Subsets:                 []echo.SubsetConfig{{}},
    		Locality:                "region.zone.subzone",
    		IncludeExtAuthz:         c.IncludeExtAuthz,
    		DisableAutomountSAToken: disableAutomountSAToken,
    	}
    
    	b := echo.Config{
    		Service:         BSvc,
    		ServiceAccount:  true,
    		Ports:           ports.All(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. tests/integration/security/egress_sidecar_tls_origination_test.go

    					},
    				},
    			}
    			for _, tc := range testCases {
    				t.NewSubTest(tc.name).Run(func(t framework.TestContext) {
    					if tc.authorizeSidecar {
    						serviceAccount := tc.from.Config().ServiceAccountName()
    						serviceAccountName := serviceAccount[strings.LastIndex(serviceAccount, "/")+1:]
    						authorizeSidecar(t, tc.from.Config().Namespace, serviceAccountName)
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // +optional
      optional UserSubject user = 2;
    
      // `group` matches based on user group name.
      // +optional
      optional GroupSubject group = 3;
    
      // `serviceAccount` matches ServiceAccounts.
      // +optional
      optional ServiceAccountSubject serviceAccount = 4;
    }
    
    // UserSubject holds detailed information for user-kind subject.
    message UserSubject {
      // `name` is the username that matches, or "*" to match all usernames.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/authenticator/config.go

    		}
    		allPublicKeys = append(allPublicKeys, publicKeys...)
    	}
    	validator, err := serviceaccount.NewLegacyValidator(lookup, serviceAccountGetter, secretsWriter)
    	if err != nil {
    		return nil, fmt.Errorf("while creating legacy validator, err: %w", err)
    	}
    
    	tokenAuthenticator := serviceaccount.JWTTokenAuthenticator([]string{serviceaccount.LegacyIssuer}, allPublicKeys, apiAudiences, validator)
    	return tokenAuthenticator, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. pkg/registry/core/serviceaccount/storage/token.go

    			if err != nil {
    				return nil, err
    			}
    			pod = podObj.(*api.Pod)
    			if name != pod.Spec.ServiceAccountName {
    				return nil, errors.NewBadRequest(fmt.Sprintf("cannot bind token for serviceaccount %q to pod running with different serviceaccount name.", name))
    			}
    			uid = pod.UID
    			if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenPodNodeInfo) {
    				if nodeName := pod.Spec.NodeName; nodeName != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // +optional
      optional UserSubject user = 2;
    
      // `group` matches based on user group name.
      // +optional
      optional GroupSubject group = 3;
    
      // `serviceAccount` matches ServiceAccounts.
      // +optional
      optional ServiceAccountSubject serviceAccount = 4;
    }
    
    // UserSubject holds detailed information for user-kind subject.
    message UserSubject {
      // `name` is the username that matches, or "*" to match all usernames.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // +optional
      optional UserSubject user = 2;
    
      // `group` matches based on user group name.
      // +optional
      optional GroupSubject group = 3;
    
      // `serviceAccount` matches ServiceAccounts.
      // +optional
      optional ServiceAccountSubject serviceAccount = 4;
    }
    
    // UserSubject holds detailed information for user-kind subject.
    message UserSubject {
      // `name` is the username that matches, or "*" to match all usernames.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // +optional
      optional UserSubject user = 2;
    
      // `group` matches based on user group name.
      // +optional
      optional GroupSubject group = 3;
    
      // `serviceAccount` matches ServiceAccounts.
      // +optional
      optional ServiceAccountSubject serviceAccount = 4;
    }
    
    // UserSubject holds detailed information for user-kind subject.
    message UserSubject {
      // `name` is the username that matches, or "*" to match all usernames.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top