itaysk / kubectl-neat

Clean up Kubernetes yaml and json output to make it readable
Apache License 2.0
1.68k stars 100 forks source link

Metadata isn't removed from lists #68

Closed amirschw closed 2 years ago

amirschw commented 3 years ago

This part of code doesn't get executed when neat-ing lists: https://github.com/itaysk/kubectl-neat/blob/f975c89fc129c8dd8013d19a7c2dd3f4a51a5dec/cmd/neat.go#L76-L88

Therefore, metadata isn't removed: image

itaysk commented 2 years ago

@amirschw just to confirm, do you mean to say that the list-level metadata should be neated? as #82 did?

amirschw commented 2 years ago

@itaysk exactly!

itaysk commented 2 years ago

closed by https://github.com/itaysk/kubectl-neat/pull/82