k8wiz
Argo CD
Easy
Syncing & Deployment

Which hook-delete-policy does Argo CD assume for a hook resource that has no delete policy annotation?

Select your answer:

Show answer and explanation

Answer: BeforeHookCreation

Explanation

When a hook carries no argocd.argoproj.io/hook-delete-policy annotation, Argo CD falls back to BeforeHookCreation. The existing hook resource is deleted right before the next sync creates a new one, so the last run stays visible until then. HookSucceeded and HookFailed only apply when you set them.

Read more about Argo CD