Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 115 for matchConditions (0.33 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      auditAnnotations:
      - key: keyValue
        valueExpression: valueExpressionValue
      failurePolicy: failurePolicyValue
      matchConditions:
      - expression: expressionValue
        name: nameValue
      matchConstraints:
        excludeResourceRules:
        - apiGroups:
          - apiGroupsValue
          apiVersions:
          - apiVersionsValue
          operations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    	"matchConditions":         "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    	return []error{}
    }
    
    var _ matchconditions.Matcher = &fakeCELMatcher{}
    
    type fakeCELMatcher struct {
    	error   error
    	matches bool
    }
    
    func (f *fakeCELMatcher) Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) matchconditions.MatchResult {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    			continue
    		}
    		// If at least one matchCondition successfully evaluates to FALSE,
    		// return early
    		if !match {
    			metrics.RecordAuthorizationMatchConditionExclusion(ctx, c.AuthorizerType, c.AuthorizerName)
    			return false, nil
    		}
    	}
    	// if there is any error, return
    	if len(evalErrors) > 0 {
    		return false, utilerrors.NewAggregate(evalErrors)
    	}
    	// return ALL matchConditions evaluate to TRUE successfully without error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      auditAnnotations:
      - key: keyValue
        valueExpression: valueExpressionValue
      failurePolicy: failurePolicyValue
      matchConditions:
      - expression: expressionValue
        name: nameValue
      matchConstraints:
        excludeResourceRules:
        - apiGroups:
          - apiGroupsValue
          apiVersions:
          - apiVersionsValue
          operations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      auditAnnotations:
      - key: keyValue
        valueExpression: valueExpressionValue
      failurePolicy: failurePolicyValue
      matchConditions:
      - expression: expressionValue
        name: nameValue
      matchConstraints:
        excludeResourceRules:
        - apiGroups:
          - apiGroupsValue
          apiVersions:
          - apiVersionsValue
          operations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. pkg/apis/admissionregistration/types.go

    	//   1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
    	//   2. If ALL matchConditions evaluate to TRUE, the webhook is called.
    	//   3. If any matchCondition evaluates to an error (but none are FALSE):
    	//      - If failurePolicy=Fail, reject the request
    	//      - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
    	//
    	// +optional
    	MatchConditions []MatchCondition
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/v1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.MatchCondition)(nil), (*admissionregistration.MatchCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_MatchCondition_To_admissionregistration_MatchCondition(a.(*v1.MatchCondition), b.(*admissionregistration.MatchCondition), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:46:30 UTC 2024
    - 73.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // +listMapKey=name
      // +optional
      repeated MatchCondition matchConditions = 6;
    
      // Variables contain definitions of variables that can be used in composition of other expressions.
      // Each variable is defined as a named CEL expression.
      // The variables defined here will be available under `variables` in other expressions of the policy
      // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top