k8wiz
Kyverno
Medium
Mutation

Which of the following is NOT a valid operation in a Kyverno mutate rule?

Select your answer:

Show answer and explanation

Answer: merge

Explanation

patchesJson6902 in a mutate rule uses RFC 6902 JSON Patch, whose operations are add, remove, replace, move, copy and test. There is no merge operation; to merge fields, Kyverno offers patchStrategicMerge, which works like kubectl's strategic merge patches.

Read more about Kyverno