kubernetes v1.32

MutatingAdmissionPolicySpec.mutations

Mutation specifies the CEL expression which is used to apply the Mutation.

3 fields
MutatingAdmissionPolicySpec.mutations fields and descriptions
Field / TypeDescription
ApplyConfiguration

applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration.

JSONPatch

jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.

patchType
string required

patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.