A KSOPS or SOPS-based app fails with `Error: failed to get the data key required to decrypt the SOPS file`.
IntermediateTroubleshootingSecrets, Controller Performance & Recovery
Answer
Likely causes → The repo-server cannot access the key: missing age private key secret mount, IRSA role without kms:Decrypt on the CMK, or the file was encrypted with a recipient list that does not include the cluster's key.
Diagnose →
kubectl -n argocd exec deploy/argocd-repo-server -- env | grep SOPS
grep -A3 'kms\|age' secrets.enc.yaml
Fix → Mount the age key (SOPS_AGE_KEY_FILE) or grant KMS decrypt to the repo-server's role; re-encrypt with sops updatekeys after adding the cluster recipient to .sops.yaml.
Prevent → Keep recipients in .sops.yaml and fail CI when an encrypted file lacks the cluster recipient.
More on Secrets, Controller Performance & Recovery
A Sealed Secret is not decrypted: the SealedSecret shows `no key could decrypt secret (password)`.Intermediateargocd-vault-plugin apps fail with `Replace: could not replace all placeholders in Template: ... secret not found`.AdvancedAn ExternalSecret is `SecretSyncedError` with `could not get secret data from provider`, and the app is Degraded.BeginnerThe application controller is OOMKilled repeatedly after onboarding a large cluster.AdvancedReconciliation is slow for all apps; `argocd_app_reconcile` p95 is minutes and the workqueue depth keeps growing.AdvancedThe UI and CLI are slow and logs show `Failed to get cached app state: dial tcp 10.96.40.2:6379: connect: connection refused`.Intermediate