Skip to content

Add external diff tool support - #1048

Open
eagafonov wants to merge 1 commit into
databus23:masterfrom
eagafonov:external-diff
Open

Add external diff tool support#1048
eagafonov wants to merge 1 commit into
databus23:masterfrom
eagafonov:external-diff

Conversation

@eagafonov

Copy link
Copy Markdown

Add --external-diff flag and HELM_DIFF_TOOL env var to render diffs with an external command.

Manifests are written to two temp files whose paths are appended as the last two arguments.

Secret redaction and line suppression stay in effect since manifests are reconstructed from the report entries.

Exit code 1 (differences found) is ignored; other failures report to stderr without aborting helm-diff.

The patch addresses #638

Add --external-diff flag and HELM_DIFF_TOOL env var to render diffs
with an external command.

Manifests are written to two temp files whose paths are appended as
the last two arguments.

Secret redaction and line suppression stay in effect since manifests are
reconstructed from the report entries.

Exit code 1 (differences found) is ignored; other failures report to
stderr without aborting helm-diff.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant