How do you see exactly what would change before syncing?
BeginnerConceptRapid-Fire Commands
Answer
argocd app diff web # Git vs live
argocd app diff web --local ./apps/web # local working copy vs live
argocd app sync web --dry-run # what the sync would do
argocd app diff exits with code 1 when differences exist, so it works as a CI gate.
More on Rapid-Fire Commands
How do you get the initial admin password and log in from the CLI?BeginnerHow do you create an Application from the CLI with auto-sync?BeginnerHow do you force Argo CD to re-render manifests ignoring its cache?BeginnerHow do you wait in a pipeline until an app is synced and healthy?IntermediateHow do you register a new cluster and list clusters?BeginnerHow do you stop a stuck sync operation?Intermediate