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

How does GPG signature verification work in Argo CD?

AdvancedConceptRepo Structure, Flux, Scaling & DR
Answer

Import public keys with argocd gpg add --from key.asc (stored in argocd-gpg-keys-cm) and list allowed key IDs in the AppProject's signatureKeys. Argo CD then refuses to sync any revision whose commit (or annotated tag) is not signed by one of those keys, showing an error in the app conditions. It protects against someone pushing unsigned commits directly to the config repo. It only works for Git sources, not Helm repositories.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repo Structure, Flux, Scaling & DR