Advertisement
Intermediate ArgoCD, Sync Waves & Hooks

What is a Skip hook and when is it used?

Short answer

A resource annotated with hook Skip is not applied by ArgoCD during sync—useful to keep a manifest in the repo for reference or manual application without ArgoCD managing it. It effectively excludes the resource from the sync while keeping it version-controlled.

Save ArgoCD mock interview
Advertisement
AModel answer
A resource annotated with hook Skip is not applied by ArgoCD during sync—useful to keep a manifest in the repo for reference or manual application without ArgoCD managing it. It effectively excludes the resource from the sync while keeping it version-controlled.
metadata:
  annotations:
    argocd.argoproj.io/hook: Skip
Real-world example
A sample/manual resource is kept in Git for documentation but marked Skip so ArgoCD never applies it.
Likely follow-ups
  • How does Skip differ from Prune=false? | Why keep a skipped resource in Git?
Related topics