Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 110 for admission (0.14 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    		// Needed for the node to create/delete mirror pods.
    		// Use the NodeRestriction admission plugin to limit a node to creating/deleting mirror pods bound to itself.
    		rbacv1helpers.NewRule("create", "delete").Groups(legacyGroup).Resources("pods").RuleOrDie(),
    		// Needed for the node to report status of pods it is running.
    		// Use the NodeRestriction admission plugin to limit a node to updating status of pods bound to itself.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	// no-op for object counting
    	return nil
    }
    
    // Handles returns true if the object count evaluator needs to track this attributes.
    func (o *objectCountEvaluator) Handles(a admission.Attributes) bool {
    	operation := a.GetOperation()
    	return operation == admission.Create
    }
    
    // Matches returns true if the evaluator matches the specified quota with the provided input item
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // plugins invoked in the request serving chain, including authentication, authorization and
      // admission plugins. Note that these annotations are for the audit event, and do not correspond
      // to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
      // component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
      // should be short. Annotations are included in the Metadata level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pkg/quota/v1/evaluator/core/pods.go

    }
    
    // Handles returns true if the evaluator should handle the specified attributes.
    func (p *podEvaluator) Handles(a admission.Attributes) bool {
    	op := a.GetOperation()
    	if op == admission.Create {
    		return true
    	}
    	if feature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) && op == admission.Update {
    		return true
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/node_authorizer.go

    //     edge from the existing slice object to the node, which is the case if the
    //     existing object has the node in its NodeName field. For create, the access gets
    //     granted because the noderestriction admission plugin checks that the NodeName
    //     is set to the node.
    //  5. For other resources, authorize all nodes uniformly using statically defined rules
    type NodeAuthorizer struct {
    	graph      *Graph
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. plugin/pkg/admission/gc/gc_admission_test.go

    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	apiserveradmission "k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/admission/initializer"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	fakediscovery "k8s.io/client-go/discovery/fake"
    	"k8s.io/client-go/restmapper"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	// owner: @ivelichkovich, @tallclair
    	// alpha: v1.27
    	// beta: v1.28
    	// stable: v1.30
    	// kep: https://kep.k8s.io/3716
    	//
    	// Enables usage of MatchConditions fields to use CEL expressions for matching on admission webhooks
    	AdmissionWebhookMatchConditions featuregate.Feature = "AdmissionWebhookMatchConditions"
    
    	// owner: @jefftree @alexzielenski
    	// alpha: v1.26
    	// beta: v1.27
    	// stable: v1.30
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    				CertificatesDir: testCertsDir,
    			},
    			endpoint: &kubeadmapi.APIEndpoint{BindPort: 123, AdvertiseAddress: "1.2.3.4"},
    			expected: []string{
    				"kube-apiserver",
    				"--enable-admission-plugins=NodeRestriction",
    				"--service-cluster-ip-range=bar",
    				"--service-account-key-file=" + filepath.Join(testCertsDir, "sa.pub"),
    				"--service-account-signing-key-file=" + filepath.Join(testCertsDir, "sa.key"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	// plugins invoked in the request serving chain, including authentication, authorization and
    	// admission plugins. Note that these annotations are for the audit event, and do not correspond
    	// to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
    	// component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
    	// should be short. Annotations are included in the Metadata level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    // converts the native type definition to apiservercel.DeclType once such a utility becomes available.
    // The 'uid' field is omitted since it is not needed for in-process admission review.
    // The 'object' and 'oldObject' fields are omitted since they are exposed as root level CEL variables.
    func BuildRequestType() *apiservercel.DeclType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top