Skip to content

Commit

Permalink
feat(notifications): add trigger for Cloudflare cache purge on app sy…
Browse files Browse the repository at this point in the history
…nc success

Signed-off-by: walnuts1018 <r.juglans.1018@gmail.com>
  • Loading branch information
walnuts1018 committed Feb 9, 2025
1 parent bf83cfa commit 6a9a3f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k8s/_argocd/argocd_components/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,11 @@ notifications:
- app-sync-succeeded
- cloudflare-purge-cache
when: app.status.operationState.phase in ['Succeeded']
trigger.cloudflare-purge-cache: |
- description: Purge Cloudflare cache
send:
- cloudflare-purge-cache
when: app.status.operationState.phase in ['Succeeded']
defaultTriggers: |
- on-sync-status-unknown
Expand Down

0 comments on commit 6a9a3f4

Please sign in to comment.