Interview Prep/GitOps & Argo CD/Repo Structure, Flux, Scaling & DR

What are the main security hardening steps for Argo CD?

AdvancedConceptRepo Structure, Flux, Scaling & DR
Answer
  • SSO only, admin disabled, policy.default read-only or empty, least-privilege project roles.
  • No apps in default; projects restrict repos, destinations and kinds.
  • Repo credentials via GitHub App or deploy keys, read-only.
  • Cluster credentials short-lived (IRSA/workload identity), namespace-scoped where possible.
  • Exec disabled unless needed; logs RBAC enforced.
  • Network policies around argocd namespace; argocd-server not public, or behind SSO-aware proxy.
  • GPG commit signature verification via project signatureKeys for sensitive projects.
  • Keep Argo CD patched; several CVEs have affected the API server and repo-server.
All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repo Structure, Flux, Scaling & DR