Closed ryysud closed 4 years ago
Thanks. Did adding this fix the problem?
Yes.
Before:
# Sample is the custom resource
$ kubectl api-resources
NAME SHORTNAMES APIGROUP NAMESPACED KIND
samples sample.example.org false Sample
$ kubectl tree samples sample -A
Error: failed to get samples/sample: the server could not find the requested resource
After:
$ kubectl tree samples sample -A
NAMESPACE NAME READY REASON AGE
Sample/sample - 112s
├─ClusterRole/sample - 111s
├─ClusterRoleBinding/sample - 111s
test └─ServiceAccount/sample - 112s
I see two different users authored the commit. Are them both you?
No, this patch was created by co-worker @tatsuhiro-t and I commited it.
I just made v0.4.0 release with this if you need it.
Thank you!
This PR fixes https://github.com/ahmetb/kubectl-tree/issues/26 .
Output after applying this change.