Skip to content

Commit cc9663b

Browse files
committed
Add post sync hook
Signed-off-by: Keith Pine <[email protected]>
1 parent de57220 commit cc9663b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sync-hooks-waves/03-postsync-cleanup/cleanup.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
generateName: cleanup-after-sync-
66
labels:
77
codefresh.io/cert: cleanup-job
8-
#annotations:
9-
#argocd.argoproj.io/hook: PostSync
8+
annotations:
9+
argocd.argoproj.io/hook: PostSync
1010
spec:
1111
template:
1212
spec:
@@ -17,4 +17,4 @@ spec:
1717
- "sleep"
1818
- "10"
1919
restartPolicy: Never
20-
backoffLimit: 2
20+
backoffLimit: 2

0 commit comments

Comments
 (0)