How to Preview and Diff Your Argo CD Deployments
Talkat ArgoCon Europe 2023 · on Tuesday, 2023-04-18· at 14:15· Elicium Building | Elicium Ballroom 1 [Argo CD]·
summary
Covers four concrete ways to diff Argo CD deployments and why three fall short: the Argo CD UI diff is useful but delays detection and clashes with auto-sync, the CLI trick argocd diff --local works for local testing but requires cluster access for CI, and committing rendered manifests to a second repo adds complexity and bypasses kustomize/Helm features. Recommends the simplest robust option: render manifests on the fly in CI (kustomize/helm template), git-diff the PR vs main, and post the rendered diff as a PR comment; example GitHub workflow is provided.
AI-written summary · about
chapters (9)
- 0:00Argo CD deployments intro
- 2:10Pull request review problem
- 3:33Option one: UI diff in cluster
- 4:37Option two: CLI diff with local files
- 6:21Option three: Pre-render manifests
- 9:52Option four: Render manifests on fly
- 13:05Why unchanged parts matter
- 16:42Solutions and recommendations
- 18:26Q&A
related talks
31mGitOps, the Final Frontier: Proposing, Promoting, and Reverting
14mEase the Pain of Platform Engineers with Argo CD by Leveraging Kustomize Templates
26mSpace Age GitOps: Lifting off with Argo Promotions (Live Demo!)
26mArgoCD CLI Gets an Upgrade: Plugins, Flexibility, and More
25mHitting the Runway with ArgoCD at American Airlines
31mImplementing Preview Environments with GitOps in Kubernetes
27mThe PR Is the UI: Simplifying Argo for Developers
11mLightning Talk: Ranking Argo CD Settings in a Tier List
