kustomize.nvim icon indicating copy to clipboard operation
kustomize.nvim copied to clipboard

[Feature] Allow running any tool on the file

Open jemag opened this issue 1 year ago • 2 comments

It would be nice to be able to run any tool on a manifest file. So far kubent and kubeconform are supported, but there are plenty others that could be useful.

In my case, I think being able to run trivy config {filename} would be useful.

jemag avatar Aug 19 '24 20:08 jemag

Hello, thanks for your suggestion. This sounds like a useful feature! I will try to implement it

Allaman avatar Aug 20 '24 16:08 Allaman

Finally 😄 Please tell me if it works 😆

Allaman avatar Oct 04 '24 20:10 Allaman

hey thanks a lot for this and sorry about the delay, been quite busy lately. Works great with the few tests I ran.

Only issue I encountered is sometimes I may build a large amount of manifests through kustomize (e.g.: argocd installation manifests), and it won't have time to complete and error out: image

Would it be possible to edit the timeout either globally or for specific custom run commands?

jemag avatar Oct 10 '24 22:10 jemag

Please check out again :)

Allaman avatar Oct 11 '24 22:10 Allaman

works well, thanks!

jemag avatar Oct 17 '24 15:10 jemag