Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for matchConditions (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    			matchConditions: []api.WebhookMatchCondition{
    				{
    					Expression: "has(request.resourceAttributes) && request.resourceAttributes.namespace == 'kube-system'",
    				},
    				{
    					Expression: "request.user == 'admin'",
    				},
    			},
    			featureEnabled: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.yaml

      clientConfig:
        caBundle: Ag==
        service:
          name: nameValue
          namespace: namespaceValue
          path: pathValue
          port: 4
        url: urlValue
      failurePolicy: failurePolicyValue
      matchConditions:
      - expression: expressionValue
        name: nameValue
      matchPolicy: matchPolicyValue
      name: nameValue
      namespaceSelector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	}
    
    	if invocation == nil {
    		return nil, nil
    	}
    	if matchNsErr != nil {
    		return nil, matchNsErr
    	}
    	if matchObjErr != nil {
    		return nil, matchObjErr
    	}
    	matchConditions := h.GetMatchConditions()
    	if len(matchConditions) > 0 {
    		versionedAttr, err := v.VersionedAttribute(invocation.Kind)
    		if err != nil {
    			return nil, apierrors.NewInternalError(err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	// across the file.
    
    	// 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    				},
    			},
    		},
    		{
    			name:               "match condition with one compilation error",
    			attr:               aliceAttr,
    			expectedCompileErr: "matchConditions[2].expression: Invalid value: \"('group3' in request.group)\": compilation failed: ERROR: <input>:1:21: undefined field 'group'\n | ('group3' in request.group)\n | ....................^",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. pkg/generated/openapi/zz_generated.openapi.go

    							Description: "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  1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n  2. If ALL...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  8. api/openapi-spec/swagger.json

              "items": {
                "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchCondition"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    - Added matchConditions field to ValidatingAdmissionPolicy and enabled support for CEL based custom match criteria. ([#116350](https://github.com/kubernetes/kubernetes/pull/116350), [@maxsmythe](https://github.com/maxsmythe))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.29.md

    - Added support for CEL expressions to `v1alpha1 AuthorizationConfiguration` webhook `matchConditions`. ([#121223](https://github.com/kubernetes/kubernetes/pull/121223), [@ritazh](https://github.com/ritazh))
    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