The binding is a promise. The audit log is the proof.

Every Kubernetes cluster keeps a filing cabinet of good intentions. In it sits a ValidatingAdmissionPolicyBinding, neatly declaring that a policy applies here, to these resources, with these actions. It is a fine document. It is not a receipt. The binding tells you what the cluster intends to do with a request; it tells you nothing about whether any particular request ever arrived, matched, or met the policy's judgment. Teams that file the binding as proof of enforcement discover the gap at the worst possible moment — during the incident review, when the audit trail is thin and the promise is all that is left.

Kubernetes documents the separation precisely, and the separation is the whole story. A binding connects a policy to parameterized resources. Its matchResources is intersected with the policy's matchConstraints, so a request must satisfy the policy-side conditions before the binding can further select it. That is a rule for understanding possible future evaluation. It is not an observation that any named object passed through the intersection. A binding can sit there while no relevant request ever arrives. A request can arrive and fail to match. A reader who writes “enforced” from the binding alone has quietly supplied every missing step.

Three gaps between a binding and an outcome

The first gap is matching. The second is parameters. The third is evaluation. Kubernetes lets a binding point to a resource used as a parameter, and it distinguishes a referenced parameter that exists from one that does not. A missing parameter can leave the binding misconfigured and drag the policy's failure policy into view. None of that proves a permissive or restrictive result on its own. The policy reference, the parameter selection and the failure setting are separate fields with separate consequences. An inventory of them is excellent governance evidence. It is still not an admission result.

The third gap is the one that trips up the most confident dashboards. failurePolicy governs parse, type-check, runtime and configuration failures. It does not define how a validation expression that simply evaluates false is handled. That work belongs to the binding's validationActions. Deny produces a denied request for a validation failure. Warn returns warning information to the client. Audit adds failure information to the audit event. The names belong to different surfaces — an expression result, an error-handling choice, an action declaration, a request response — and folding them into “the policy blocked the workload” without a request record obscures which surface actually supplied the fact.

Timing: admission runs after authentication, before persistence

Kubernetes describes admission control as occurring after authentication and authorization and before persistence. Mutating and validating phases are distinct, and a rejection in either phase rejects the request. The binding does not document which identity presented a request, whether authorization had allowed it, whether another controller acted, whether mutation changed the object, or whether a later controller rejected it. Nor does it apply to reads, because reads bypass admission control entirely. A configuration can therefore be relevant without being a universal account of what a cluster permits or retains.

None of this is an argument against policy bindings. It is an argument for preserving their actual value. A binding record can retain its name, policy version, observed resource version, scope criteria, parameter reference, declared actions and collection time. A separate outcome record can retain the request identity, timestamp, matched conditions, parameter state, expression result, selected action, response and persistence evidence. When the relevant action is Audit, Kubernetes documents a request-associated annotation that identifies the policy, the binding, the failed expression and the actions. That annotation makes a narrower but stronger claim: it relates to a particular API request. It still does not prove the fate of a different request, or of an entire fleet.

The discipline: let each record carry only its own claim

“A binding configured Deny” is an observation about declared behaviour. “This request was denied under this binding” requires request-specific evidence. “A workload was not created” requires evidence about that request's final path, not merely a policy object that might have been relevant. “The cluster is protected” is a broader conclusion still, one that depends on scope, operation, exceptions, other controls and the objective being assessed. Keeping those propositions apart makes later review possible without pretending that a declarative object is silent, or that it says more than it does.

The binding is the promise. The audit trail is the proof. A cluster that keeps only the first is not protected; it is merely well-documented.

Sources

  1. Kubernetes API reference — ValidatingAdmissionPolicyBinding
  2. Kubernetes API reference — ValidatingAdmissionPolicy
  3. Kubernetes tutorial — Validating and Mutating Admission Policies
  4. Kubernetes documentation — Admission controllers
  5. Kubernetes documentation — Audit annotations