argocd status sync update

This commit is contained in:
snothub
2026-03-29 14:53:55 +02:00
parent e199b00137
commit 9edbe3d0ef

View File

@@ -67,7 +67,7 @@ notifications:
- when: app.status.operationState.phase in ['Running']
send: [app-syncing]
trigger.on-sync-succeeded: |
- when: app.status.operationState.phase in ['Succeeded']
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy'
send: [app-sync-succeeded]
trigger.on-sync-failed: |
- when: app.status.operationState.phase in ['Failed']