diff --git a/infra/values/argocd-values.yaml b/infra/values/argocd-values.yaml index 135b9fa..c4db122 100644 --- a/infra/values/argocd-values.yaml +++ b/infra/values/argocd-values.yaml @@ -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']