manifest-summary icon indicating copy to clipboard operation
manifest-summary copied to clipboard

creating summary for object: unable to find object name

Open m0un10 opened this issue 2 years ago • 2 comments

Quite often this tool doesn't work due to "creating summary for object: unable to find object name". This is when piping directly from k get <resource> -oyaml. Raising the issue just to capture it for now, when I get more time I'll try to find the root cause and a simple case to reproduce and fix it.

m0un10 avatar Jun 13 '22 00:06 m0un10

the issue appears to related to the format being an array of items.

apiVersion: v1
items:
  - apiVersion: v1

this tools assumes separate docs separated by ---

m0un10 avatar Oct 01 '22 18:10 m0un10

I've implemented a fix https://github.com/bryanl/manifest-summary/pull/5

m0un10 avatar Oct 01 '22 19:10 m0un10