Skip to main content
Schemaobject

io.k8s.api.admissionregistration.v1beta1.JSONPatch

JSONPatch defines a JSON Patch.

Source
specs/apis__admissionregistration.k8s.io__v1beta1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
expression string
optional

expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec expression must return an array of JSONPatch values. For example, this CEL expression returns a JSON patch to conditionally modify a value: [ JSONPatch{op: "test", path: "/spec/example", value: "Red"}, JSONPatch{op: "replace", path: "/spec/example", value: "Green"} ] To define an object for the patch value, use Object types. For example: [ JSONPatch{ …