`Kustomize build failed: ... json: unknown field "patchesStrategicMerge"` warnings, or a deprecated-field error after an Argo CD upgrade.
IntermediateTroubleshootingManifest Generation & ComparisonError
Answer
Likely causes → The Kustomize version bundled with the new Argo CD deprecates or changes fields (patchesStrategicMerge, commonLabels, bases).
Diagnose → kubectl -n argocd exec deploy/argocd-repo-server -- kustomize version; run the same version locally.
Fix → Run kustomize edit fix to migrate files; or pin an older Kustomize version via kustomize.path.<version> in argocd-cm and spec.source.kustomize.version temporarily.
Prevent → Track the bundled tool versions in Argo CD release notes.
More on Manifest Generation & ComparisonError
`ComparisonError: Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): ...`Intermediate`rpc error: code = Unknown desc = `helm template . --name-template web --namespace web ... --include-crds` failed exit status 1: Error: template: web/templates/deployment.yaml:24:20: executing "web/templates/deployment.yaml" at <.Values.image.tag>: nil pointer evaluating interface {}.tag`Beginner`Error: open envs/prod/values.yaml: no such file or directory` when the app renders.Beginner`Error: values file '../../envs/prod/values.yaml' resolved to outside repository root`IntermediateKustomize app fails: `kustomize build ... failed exit status 1: Error: accumulating resources: accumulation err='accumulating resources from '../../base': ... must build at directory: not a valid directory'`.Beginner`Error: trouble configuring builtin HelmChartInflationGenerator with config: ... must specify --enable-helm`Intermediate