Interview Prep/GitOps & Argo CD/Manifest Generation & ComparisonError

Kustomize 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'`.

BeginnerTroubleshootingManifest Generation & ComparisonError
Answer

Likely causes → Wrong relative path in resources, a folder renamed, or a remote base unreachable.

Diagnose → kustomize build apps/web/overlays/prod locally at the same commit.

Fix → Fix the path in kustomization.yaml. For remote bases, pin a ref and ensure the repo-server can reach and authenticate to it.

Prevent → kustomize build every overlay in CI.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Manifest Generation & ComparisonError