ahmetb/kubectl-tree

Error on listing resources

grzesuav opened this issue · 1 comments

I would like to execute:
k tree deployment grafana

but I get error:

Error: error while querying api objects: listing resources failed (monitoring.kiali.io/v1alpha1, Resource=monitoringdashboards): monitoringdashboards.monitoring.kiali.io is forbidden: User "developer" cannot list resource "monitoringdashboards" in API group "monitoring.kiali.io" in the namespace "grafanaoperator"

I would expect right tree will appear (as the abovementioned object is not part of the tree afaik)

Either way even dispalying partially tree would be more useful

#14

closing as duplicate