argocd app wait fails with app degraded
Author: s-u-b-h-a-k-a-rCreated Apr 12, 2021Updated Sep 30, 2026
Labelsbug
ArgoCD Version: 1.8.7
argocd app wait ${ARGOCD_REPO} --health=false --timeout 600
Eventhough the health flag is passed as false still the argocd app fails with below error message fmt.Errorf("application '%s' health state has transitioned from %s to %s", appName, prevState.Health, newState.Health) By walking through the below code argocd app wait should throw error message if only watchHealth is true. https://github.com/argoproj/argo-cd/blob/release-1.8/cmd/argocd/commands/app.go#L1916
Source: argoproj/argo-cd