Browse Source

Fix annotation for pre-post sync example

pull/5/head
Jesse Suen 6 years ago
parent
commit
62c453945b
No known key found for this signature in database GPG Key ID: 90C911E8A6106562
  1. 2
      pre-post-sync/components/post-sync-job.yaml
  2. 2
      pre-post-sync/components/pre-sync-job.yaml

2
pre-post-sync/components/post-sync-job.yaml

@ -4,7 +4,7 @@ metadata:
generateName: after- generateName: after-
annotations: annotations:
argocd.argoproj.io/hook: PostSync argocd.argoproj.io/hook: PostSync
argocd.argoproj.io/hook-delete-policy: OnSuccess argocd.argoproj.io/hook-delete-policy: HookSucceeded
spec: spec:
template: template:
spec: spec:

2
pre-post-sync/components/pre-sync-job.yaml

@ -4,7 +4,7 @@ metadata:
generateName: before- generateName: before-
annotations: annotations:
argocd.argoproj.io/hook: PreSync argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook-delete-policy: OnSuccess argocd.argoproj.io/hook-delete-policy: HookSucceeded
spec: spec:
template: template:
spec: spec:

Loading…
Cancel
Save