Interview Prep/GitOps & Argo CD/Secrets, Controller Performance & Recovery

argocd-vault-plugin apps fail with `Replace: could not replace all placeholders in Template: ... secret not found`.

AdvancedTroubleshootingSecrets, Controller Performance & Recovery
Answer

Likely causes → The path in the <path:...#key> placeholder or the avp.kubernetes.io/path annotation is wrong, the KV version mismatches (KV v2 needs data/ in the path), or the plugin's Vault role cannot read it.

Diagnose → vault kv get <path> with the same role; CMP sidecar logs in repo-server.

Fix → Correct the path, KV version, or Vault policy. Note that AVP renders secrets into manifests, so they appear in Argo CD's cache and diff; consider moving to External Secrets Operator.

Prevent → Prefer controllers that fetch secrets in-cluster (ESO, Vault Secrets Operator) so secret values never pass through the repo-server.

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

More on Secrets, Controller Performance & Recovery