- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for StrictCostEnforcementForVAP (0.38 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
hasParamKind: false, exceedBudget: false, testRuntimeCELCostBudget: 6, expectRemainingBudget: pointer.Int64(0), }, { name: "With StrictCostEnforcementForVAP enabled: expression exceed RuntimeCELCostBudget at fist expression", validations: []ExpressionAccessor{ &condition{ Expression: "!authorizer.group('').resource('endpoints').check('create').allowed()",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/features/kube_features.go
// The strict cost is specific for the extended libraries whose cost defined under k8s/apiserver/pkg/cel/library. StrictCostEnforcementForVAP featuregate.Feature = "StrictCostEnforcementForVAP" // owner: @cici37 // alpha: v1.30 // // StrictCostEnforcementForWebhooks is used to apply strict CEL cost validation for matchConditions in Webhooks.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:36:46 UTC 2024 - 13.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go
} func compilePolicy(policy *Policy) Validator { hasParam := false if policy.Spec.ParamKind != nil { hasParam = true } strictCost := utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForVAP) optionalVars := cel.OptionalVariableDeclarations{HasParams: hasParam, HasAuthorizer: true, StrictCost: strictCost}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 7.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go
continue } options := plugincel.OptionalVariableDeclarations{ HasParams: ctx.paramDeclType != nil, HasAuthorizer: true, StrictCost: utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForVAP), } compiler.CompileAndStoreVariables(convertv1beta1Variables(ctx.variables), options, environment.StoredExpressions)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 15.3K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
return validateValidatingAdmissionPolicy(p, validationOptions{ignoreMatchConditions: false, strictCostEnforcement: utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForVAP)}) } func validateValidatingAdmissionPolicy(p *admissionregistration.ValidatingAdmissionPolicy, opts validationOptions) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
pkg/features/kube_features.go
genericfeatures.StorageVersionAPI: {Default: false, PreRelease: featuregate.Alpha}, genericfeatures.StorageVersionHash: {Default: true, PreRelease: featuregate.Beta}, genericfeatures.StrictCostEnforcementForVAP: {Default: false, PreRelease: featuregate.Beta}, genericfeatures.StrictCostEnforcementForWebhooks: {Default: false, PreRelease: featuregate.Beta},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
### API Change
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:34:14 UTC 2024 - 60.3K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation_test.go
expectedError: `undeclared reference to 'test'`, }, // TODO: CustomAuditAnnotations: string valueExpression with {oldObject} is allowed } strictCost := utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForVAP) // Include the test library, which includes the test() function in the storage environment during test base := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), strictCost)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.30.md
## Changelog since v1.30.1 ## Changes by Kind ### API Change
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 04:05:28 UTC 2024 - 253.2K bytes - Viewed (0)