Skip to content

Commit 5df28a8

Browse files
Both phases and hooks
1 parent 3ec61e7 commit 5df28a8

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

sync-hooks-waves/06-waves-and-hooks/cleanup.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
namespace: example06
55
generateName: cleanup-after-sync-
66
annotations:
7+
argocd.argoproj.io/hook: PostSync
78
argocd.argoproj.io/sync-wave: "20"
89
spec:
910
template:

sync-hooks-waves/06-waves-and-hooks/db-upgrade.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
namespace: example06
55
generateName: my-db-upgrade-
66
annotations:
7+
argocd.argoproj.io/hook: PreSync
78
argocd.argoproj.io/sync-wave: "-10"
89
spec:
910
template:

sync-hooks-waves/06-waves-and-hooks/slack-notify.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
namespace: example06
55
generateName: slack-notify-
66
annotations:
7+
argocd.argoproj.io/hook: PostSync
78
argocd.argoproj.io/sync-wave: "30"
89
spec:
910
template:

sync-hooks-waves/06-waves-and-hooks/smoke-tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
namespace: example06
55
generateName: slack-notify-
66
annotations:
7+
argocd.argoproj.io/hook: PostSync
78
argocd.argoproj.io/sync-wave: "10"
89
spec:
910
template:

0 commit comments

Comments
 (0)