Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ServiceAccountTokenPodNodeInfo (0.31 sec)

  1. pkg/serviceaccount/claims.go

    	}
    	switch {
    	case pod != nil:
    		pc.Kubernetes.Pod = &ref{
    			Name: pod.Name,
    			UID:  string(pod.UID),
    		}
    		if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenPodNodeInfo) {
    			// if this is bound to a pod and the node information is available, persist that too
    			if node != nil {
    				pc.Kubernetes.Node = &ref{
    					Name: node.Name,
    					UID:  string(node.UID),
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. pkg/registry/core/serviceaccount/storage/token.go

    			}
    			uid = pod.UID
    			if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenPodNodeInfo) {
    				if nodeName := pod.Spec.NodeName; nodeName != "" {
    					newCtx := newContext(ctx, "nodes", nodeName, "", api.SchemeGroupVersion.WithKind("Node"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pkg/features/kube_features.go

    	// beta: v1.30
    	//
    	// Controls whether the apiserver embeds the node name and uid for the associated node when issuing
    	// service account tokens bound to Pod objects.
    	ServiceAccountTokenPodNodeInfo featuregate.Feature = "ServiceAccountTokenPodNodeInfo"
    
    	// owner: @gauravkghildiyal @robscott
    	// kep: https://kep.k8s.io/4444
    	// alpha: v1.30
    	//
    	// Enables trafficDistribution field on Services.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. pkg/registry/core/rest/storage_core.go

    	if p.ServiceAccountIssuer != nil {
    		var nodeGetter rest.Getter
    		if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenNodeBinding) ||
    			utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenPodNodeInfo) {
    			nodeGetter = nodeStorage.Node.Store
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  5. pkg/serviceaccount/claims_test.go

    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ServiceAccountTokenPodNodeInfo, c.featurePodNodeInfo)
    
    			sc, pc, err := Claims(c.sa, c.pod, c.sec, c.node, c.exp, c.warnafter, c.aud)
    			if err != nil && err.Error() != c.err {
    				t.Errorf("expected error %q but got: %v", c.err, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.29.md

      - `alpha` support (guarded by the `ServiceAccountTokenPodNodeInfo` feature gate) for including the node name (and uid, if the node exists) as additional claims in service account tokens it issues which are bound to pods, and `authentication.kubernetes.io/node-name` and `authentication.kubernetes.io/node-uid`...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
Back to top