Skip to content

docs: clarify that helm-diff uses helm template by default#960

Merged
yxxhero merged 1 commit intomasterfrom
fix/clarify-helm-template-vs-upgrade-dry-run
Mar 24, 2026
Merged

docs: clarify that helm-diff uses helm template by default#960
yxxhero merged 1 commit intomasterfrom
fix/clarify-helm-template-vs-upgrade-dry-run

Conversation

@yxxhero
Copy link
Collaborator

@yxxhero yxxhero commented Mar 24, 2026

Summary

Context

The original README intro was confusing because it implied helm upgrade --debug --dry-run was used by default, but later in the docs it states that helm template is the default and helm upgrade --dry-run requires setting HELM_DIFF_USE_UPGRADE_DRY_RUN=true.

This aligns the intro with the actual code behavior in cmd/helm.go:

  • Default: subcmd = "template"
  • With env var: subcmd = "upgrade" with --dry-run flag

The README intro incorrectly implied that helm-diff uses
helm upgrade --debug --dry-run by default. In reality, it uses
helm template by default, and helm upgrade --dry-run is only used
when HELM_DIFF_USE_UPGRADE_DRY_RUN=true is set.

Fixes #666

Signed-off-by: yxxhero <aiopsclub@163.com>
@yxxhero yxxhero merged commit e1559c9 into master Mar 24, 2026
2 checks passed
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.

Clarify if helm-diff uses helm upgrade or helm template

1 participant