helm-diff icon indicating copy to clipboard operation
helm-diff copied to clipboard

Support unified format like kubectl diff for difftool compatibility (Meld)

Open Llyth opened this issue 1 year ago • 4 comments

Hello,

kubectl diff by default output in an unified format like diffutils does. It also supports KUBECTL_EXTERNAL_DIFF environment variable which can be used to pass a gui tool like Meld.

Is it possible to add an unified format option to --output ?

Resources:

  • https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/
  • https://www.gnu.org/software/diffutils/manual/diffutils.html#Unified-Format
  • https://meldmerge.org/

Best regards.

Llyth avatar Jul 03 '24 09:07 Llyth

I am also interested, recently argocd also included it.

varunpalekar avatar Oct 28 '24 12:10 varunpalekar

The helm diff format is already unified, what kind of output are you referring to?

dudicoco avatar Dec 19 '24 14:12 dudicoco

Currently kubectl/argocd support using any external tool like diff, vs code, sublime, etc. to show the diff which is especially useful when diff are exceptionally long.

varunpalekar avatar Jan 07 '25 09:01 varunpalekar

Up :)

Llyth avatar Jun 25 '25 10:06 Llyth