Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/admissionregistration.k8s.io@v1beta1/mod.ts>ValidatingAdmissionPolicyBinding

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface ValidatingAdmissionPolicyBinding
import { type ValidatingAdmissionPolicyBinding } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/admissionregistration.k8s.io@v1beta1/mod.ts";

ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.

The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

Properties

optional
apiVersion: "admissionregistration.k8s.io/v1beta1"
optional
kind: "ValidatingAdmissionPolicyBinding"
optional
metadata: MetaV1.ObjectMeta | null