A ConfigMap is OutOfSync and the diff shows the same data in a different format (a number became a string).
BeginnerTroubleshootingOutOfSync Loops & Diff Problems
Answer
Likely causes → YAML typing: data values in a ConfigMap must be strings; port: 8080 unquoted is coerced, or a Helm template outputs a number.
Diagnose → argocd app diff web shows port: 8080 vs port: "8080"; helm template output confirms the unquoted value.
Fix → Quote values ({{ .Values.port | quote }}) or write "8080" in plain YAML.
Prevent → Lint rendered manifests with kubeconform in CI; it rejects non-string ConfigMap data.
More on OutOfSync Loops & Diff Problems
An app flips between `Synced` and `OutOfSync` every few seconds and the sync history grows constantly.Intermediate`argocd app diff` shows only `replicas: 2` vs `replicas: 5` on a Deployment that has an HPA, and the app never stays Synced.BeginnerA MutatingWebhookConfiguration is always OutOfSync on `webhooks[0].clientConfig.caBundle`.IntermediateAfter installing Istio, every Deployment shows OutOfSync because of injected sidecar fields.IntermediateA Deployment is OutOfSync on `resources.limits.cpu`: Git says `1000m`, live says `1`.IntermediateAn app is OutOfSync on a field that is not in Git at all, after an Argo CD upgrade.Advanced