kubectl-tree icon indicating copy to clipboard operation
kubectl-tree copied to clipboard

Skip forbidden resources as they are rarely required

Open alam0rt opened this issue 2 years ago • 3 comments

In a multi-tenant cluster, rarely do users have permissions to view all API resources. This makes it so any resource that is forbidden to the user will be skipped.

Fixes #14 Fixes #60

alam0rt avatar Jul 11 '22 23:07 alam0rt

I think this is agreeable, there's just a little bug that we need to assign to errResult only if it's not a Forbidden error. I'll push that commit and merge.

ahmetb avatar Feb 15 '23 17:02 ahmetb

Any updates on that?

yutkin avatar Jan 12 '24 09:01 yutkin