fluxcd / pkg

Toolkit common packages
https://pkg.go.dev/github.com/fluxcd/pkg
Apache License 2.0
45 stars 84 forks source link

ssa: Skip suspended resources from wait result errors #765

Open stefanprodan opened 2 months ago

stefanprodan commented 2 months ago

Fix: https://github.com/fluxcd/flux2/discussions/4738

stefanprodan commented 2 months ago

Found some issue with this approach, since we remove the suspended resources from the result, this means wait has to reach the timeout. We need to find a way to filter the objects before passing them to the wait function... but without DDoS-ing the API and make new queries for each resource.