Skip to content

Commit

Permalink
Multiple hook delete policies can be specified as a comma separated l…
Browse files Browse the repository at this point in the history
…ist (#16659)

Based on https://github.com/argoproj/gitops-engine/blob/master/pkg/sync/hook/delete_policy.go#L13 multiple hook delete policies are also allowed.

Signed-off-by: Nenad Strainovic <nenad.strainovic@asseco-see.rs>
  • Loading branch information
strainovic authored Dec 28, 2023
1 parent 20f7182 commit f0f4a4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/user-guide/resource_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ metadata:
argocd.argoproj.io/hook: PostSync
argocd.argoproj.io/hook-delete-policy: HookSucceeded
```
Multiple hook delete policies can be specified as a comma separated list.

The following policies define when the hook will be deleted.

Expand Down

0 comments on commit f0f4a4e

Please sign in to comment.