Closed jiglesia3 closed 1 year ago
Hi @jiglesia3 . I missed the other issue. Thank you for resurfacing. I'll be looking into it this week.
Hey @transient1, thanks for picking this up again. Just commenting to keep tabs on any updates to this.
I have the exact same issue with the same log and same resources errorring. To add a bit more context, I am running pluto locally connecting to a remote k8s cluster with cluster-admin permission on my signed cert.
I am running latest pluto against a 1.21 kubernetes cluster.
I do believe there's still a bug here that @transient1 is looking into, however I believe these errors are non-blocking, is that correct? Trying to figure out priorities on this one.
We have it as a stage in our CI pipelines and the pipeline itself fails with this output, which I might consider blocking.
Hey @transient1 and @sudermanjr - any prioritization on this one as of yet?
Just following up again @transient1 so the bot doesn't auto-close!
@jiglesia3 Sincerest apologies for letting this one fall through the cracks!
The function for retrieving api resources gets every api resource in the cluster, some of which will not be accessible or pertinent. This does not break the functionality of the call because there is a continue
statement within the loop that gathers these resources, but the logging behavior is noisy. We're changing it to only log when the verbosity is set to 2, which should remove the noise.
The only other question we have is in regards to your usage in a CI pipeline. Are you getting non-zero exit code as well?
What happened?
I'm receiving the errors below which happen to be mentioned in this previous issue that was already marked as a bug. I'm using the latest version of pluto, and the
detect-helm
command works as expected.detect-api-resources
spits out the below errors. Any pointers toward a fix would be appreciated.What did you expect to happen?
No errors related to failing to retrieve these resources.
How can we reproduce this?
Download the binary and run
pluto detect-api-resources
on a v1.21 Kubernetes cluster targeting v1.22.17Version
5.16.3
Search
Code of Conduct
Additional context
No response