After upgrading Argo CD, applies fail with `strict decoding error: unknown field "spec.sourceHydrator"` or the CRD update fails with `metadata.annotations: Too long`.
AdvancedTroubleshootingSecrets, Controller Performance & Recovery
Answer
Likely causes → The new controller expects newer CRD schemas, but the CRDs were not upgraded (Helm does not upgrade CRDs by default), or they were applied client-side and hit the annotation size limit.
Diagnose → kubectl get crd applications.argoproj.io -o yaml | yq '.metadata.labels' and compare the schema with the release.
Fix → Apply CRDs server-side for the target version:
kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=v3.1.0" \
--server-side --force-conflicts
With the Helm chart, keep crds.install: true and upgrade the chart, not only the image tags.
Prevent → Upgrade one minor version at a time, read the upgrade notes, and rehearse on a staging Argo CD.
More on Secrets, Controller Performance & Recovery
A Sealed Secret is not decrypted: the SealedSecret shows `no key could decrypt secret (password)`.IntermediateA KSOPS or SOPS-based app fails with `Error: failed to get the data key required to decrypt the SOPS file`.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.Advanced