GitOps, zero to expertGitOps in production: Argo CD in depth, promotion, secrets, progressive delivery, fleets and policy
6 lessons · about 106 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
GitOps for real teams: Argo CD projects, RBAC, waves, hooks and ApplicationSets; promotion by digest with gates and Kargo; secrets with SOPS and the External Secrets Operator; canary and blue-green with Argo Rollouts and Flagger; multi-cluster fleets and tenancy; and policy and supply-chain security.
Before you start: Course 62.
What you'll learn
- AppProjects limit repos, destinations and kinds; one per team
- SSO groups → RBAC roles; disable local admin
- Sync waves and hooks order CRDs, migrations and smoke tests
- ApplicationSets generate apps per cluster, folder or PR
- Promotion = copy a proven digest to the next environment by PR
- Image automation for dev; PR gates for higher environments
- Kargo models stages, freight and verification
- Rollback = revert the promotion commit; keep migrations compatible
- Secret manifests are base64, not encryption
- Encrypt in Git: Sealed Secrets or SOPS (age/KMS)
- Reference: External Secrets Operator with workload identity
- Back up keys, scope stores, rotate and reload
Lessons
1. Argo CD in depth: projects, RBAC, sync waves, hooks, ApplicationSets and app of apps
Run Argo CD for many teams: AppProjects as guard rails, SSO with RBAC, ordering with sync waves and hooks, ignoring noisy fields, and generating Applications with ApplicationSets.
Sign in to open the lesson
2. Environment promotion: moving versions safely from dev to production
Design promotion between environments: folder edits by pull request, image automation, promotion tools such as Kargo, gates and approvals, and how to roll back.
Sign in to open the lesson
3. Secrets in GitOps: Sealed Secrets, SOPS and the External Secrets Operator
Never commit plaintext secrets: compare encrypting secrets in Git (Sealed Secrets, SOPS with age or KMS) with referencing them from a secret manager (External Secrets Operator, Vault, CSI driver), and handle rotation.
Sign in to open the lesson
4. Progressive delivery: canary and blue-green with Argo Rollouts and Flagger
Replace all-at-once Deployments with controlled releases: Argo Rollouts canary and blue-green strategies, traffic shaping through ingress or a mesh, automated analysis with Prometheus, and Flagger as the Flux-world alternative.
Sign in to open the lesson
5. Multi-cluster and fleets: hub-and-spoke, cluster generators and Flux multi-tenancy
Manage tens or hundreds of clusters: hub-and-spoke versus agent-per-cluster, registering clusters in Argo CD, cluster generators and labels, Flux per-cluster paths with variable substitution, and tenancy.
Sign in to open the lesson
6. Policy and supply-chain security for GitOps
Secure the GitOps loop end to end: policy as code with Kyverno and Gatekeeper, validating in CI and at admission, signed commits and signed artefacts verified by the agent, least privilege for agents, and auditing.
Sign in to open the lesson
Common questions
App of apps or ApplicationSets?
ApplicationSets for generated, uniform apps; app of apps for a curated set of distinct Applications (and to bootstrap ApplicationSets themselves).
Should production sync automatically?
Many teams auto-sync after a reviewed merge; the gate is the PR. Others require a manual sync for a change window; choose and document.
Does Argo CD support SOPS natively?
Not natively; use a config management plugin, kustomize with a SOPS plugin, or prefer ESO. Flux decrypts SOPS natively.
Do I need a service mesh?
No; NGINX, the Gateway API plugin or ALB can split traffic. A mesh adds header-based routing and mTLS.
Can Argo CD manage clusters it can't reach?
Not in hub mode; use an agent in the cluster or a pull-based agent architecture.
Kyverno or Gatekeeper?
Kyverno is YAML-native and includes image verification and mutation; Gatekeeper suits teams already using OPA and Rego. Both are CNCF projects.