Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ServiceAccountTokenNodeBinding (0.36 sec)

  1. pkg/registry/core/serviceaccount/storage/token.go

    					}
    				}
    			}
    		case gvk.Group == "" && gvk.Kind == "Node":
    			if !utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenNodeBinding) {
    				return nil, errors.NewBadRequest(fmt.Sprintf("cannot bind token to a Node object as the %q feature-gate is disabled", features.ServiceAccountTokenNodeBinding))
    			}
    			newCtx := newContext(ctx, "nodes", ref.Name, "", gvk)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims_test.go

    		},
    		{
    			// node with feature gate disabled
    			sa:   sa,
    			node: node,
    			// really fast
    			exp: 0,
    			// nil audience
    			aud: nil,
    			err: "token bound to Node object requested, but \"ServiceAccountTokenNodeBinding\" feature gate is disabled",
    		},
    		{
    			// node & pod with feature gate disabled
    			sa:   sa,
    			node: node,
    			pod:  pod,
    			// really fast
    			exp: 0,
    			// nil audience
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. pkg/serviceaccount/claims.go

    			Name: secret.Name,
    			UID:  string(secret.UID),
    		}
    	case node != nil:
    		if !utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenNodeBinding) {
    			return nil, nil, fmt.Errorf("token bound to Node object requested, but %q feature gate is disabled", features.ServiceAccountTokenNodeBinding)
    		}
    		pc.Kubernetes.Node = &ref{
    			Name: node.Name,
    			UID:  string(node.UID),
    		}
    	}
    
    	if warnafter != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/options/authentication_test.go

    			enabledFeatures:  []featuregate.Feature{kubefeatures.ServiceAccountTokenNodeBinding},
    			disabledFeatures: []featuregate.Feature{kubefeatures.ServiceAccountTokenNodeBindingValidation},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authentication.go

    			}
    		}
    	}
    
    	// verify that if ServiceAccountTokenNodeBinding is enabled, ServiceAccountTokenNodeBindingValidation is also enabled.
    	if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenNodeBinding) && !utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenNodeBindingValidation) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. pkg/features/kube_features.go

    	// kep: http://kep.k8s.io/4193
    	// alpha: v1.29
    	// beta: v1.31
    	//
    	// Controls whether the apiserver supports binding service account tokens to Node objects.
    	ServiceAccountTokenNodeBinding featuregate.Feature = "ServiceAccountTokenNodeBinding"
    
    	// owner: @munnerz
    	// kep: http://kep.k8s.io/4193
    	// alpha: v1.29
    	// beta: v1.30
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. pkg/registry/core/rest/storage_core.go

    	var serviceAccountStorage *serviceaccountstore.REST
    	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)
  8. CHANGELOG/CHANGELOG-1.29.md

      - `alpha` support (guarded by the `ServiceAccountTokenNodeBinding` feature gate) for allowing `TokenRequests` that bind tokens directly to nodes, and (guarded by the ServiceAccountTokenNodeBindingValidation feature gate) for validating the node name and uid still exist when the token is used. ([#120...
    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