Description
Summary
This is a possible enhancement to add a flag to the argocd app wait command to skip resources without health checks when waiting for health related conditions (--health, --suspended, --degraded). In other words, if a resource does not have a health check, it will be assumed to be healthy.
Motivation
Currently, if you pass a list of resources to argocd app wait and you specify at least one health related option to wait on (--health, --suspended, --degraded) the call will hang indefinitely if any of the resources in the list do not have health checks.
I have a deployment setup where argocd applications have groups of resources under them that are changed at different times. It would be useful to be able to wait for a single group of the resources to be synched and healthy and be able to mix resources that have health checks and those that do not within the same argocd app wait command.
Proposal
Add a flag to the argocd app wait command that could be called --skip-no-health-checks or something similar. Or, potentially make this the default behavior of the command if you mix resources with and without health checks.