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.
More on Repo Structure, Flux, Scaling & DR
Why separate the application source repo from the config (GitOps) repo?BeginnerFolders per environment or branches per environment?IntermediateHow do you promote a release from staging to production in GitOps?IntermediateWhat does a typical multi-team config repo layout look like?IntermediateHow does Flux differ from Argo CD architecturally?IntermediateWhen would you pick Flux over Argo CD, and vice versa?Intermediate