OS
OpenSpec HUB

Mutation

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

Resource Structure

Interactive Tree
applyConfigurationobject
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.
jsonPatchobject
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.
patchTypestringRequired
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
OpenSpec HUB
Source: admissionregistration.api.k8s.io/Mutation_v1beta1.json