Closed makkes closed 1 year ago
@ahmetb Is there anything missing that you'd like me to add to get this in?
I think we gotta move to using the builtin packages for resource resolvers eventually. This is far too much to handle in a plugin sustainably. But ok for now.
When a kind reports the same name for its singular and its plural version then kubectl-tree gets confused and there's no way for a user to query the tree for that specific kind.
With this commit, kubectl-tree eliminates duplicates in its internal list of names for a particular kind so that there's always an unambiguous way to specify which kind to query.
closes #64