Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MatchCondition (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	m.compileMatcher.Do(func() {
    		expressions := make([]cel.ExpressionAccessor, len(m.MutatingWebhook.MatchConditions))
    		for i, matchCondition := range m.MutatingWebhook.MatchConditions {
    			expressions[i] = &matchconditions.MatchCondition{
    				Name:       matchCondition.Name,
    				Expression: matchCondition.Expression,
    			}
    		}
    		strictCost := false
    		if utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForWebhooks) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    				},
    				{
    					Expression: "request.resourceAttributes.namespace == 'kittensandponies'",
    				},
    			},
    		},
    		{
    			name:               "at least one matchCondition successfully evaluates to FALSE, error ignored",
    			attr:               alice2Attr,
    			expectedCompileErr: "",
    			expectedEvalErr:    "",
    			expectedDecision:   authorizer.DecisionNoOpinion,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top