k8wiz
Kustomize
Easy
Concepts

Which field is the current way to patch resources in Kustomize v5?

Select your answer:

Show answer and explanation

Answer: patches

Explanation

patches accepts both strategic merge patches and JSON 6902 patches, from a file or inline, and can target several resources at once. patchesStrategicMerge and patchesJson6902 are the older, separate fields; patchesStrategicMerge was deprecated in v5.0.0.