Skip to content

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

Closed

Description

@Llyth

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:

Best regards.

Activity

  1. varunpalekar commented on Oct 28, 2024

    @varunpalekar

    I am also interested, recently argocd also included it.

  2. dudicoco commented on Dec 19, 2024

    @dudicoco

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

  3. varunpalekar commented on Jan 7, 2025

    @varunpalekar

    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.

  4. Llyth commented on Jun 25, 2025

    @Llyth
    Author

    Up :)

  5. eagafonov commented on Aug 18, 2026

    @eagafonov
    Contributor

    JFYI: I'm working on similar feature here https://github.com/eagafonov/helm-diff/tree/external-diff

    It's a WIP branch.

    $> helm diff --help
       ...
       --external-diff string                     command used to compare the manifests instead of the built-in --output renderers (can also be set via the env var HELM_DIFF_EXTERNAL_DIFF). The old and the new manifest file paths are appended as the last two arguments
       ...
    
  6. linked a pull request that will close this issueAdd external diff tool support #1048on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions