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

Clarify if helm-diff uses `helm upgrade` or `helm template`

Open lindhe opened this issue 1 year ago • 1 comments

As mentioned in #457, the README for this project seems to initially imply that helm upgrade --debug --dry-run is used for producing the diff. But later, the README states that HELM_DIFF_USE_UPGRADE_DRY_RUN=true must be set in order for it to "use helm upgrade --dry-run instead of helm template to render manifests from the chart".

I find this confusing, so I suggest we try to rephrase the README in order to clarify what's actually the case!

lindhe avatar Sep 17 '24 12:09 lindhe

Set HELM_DIFF_USE_UPGRADE_DRY_RUN=true to

use helm upgrade --dry-run instead of helm template to render manifests from the chart.

See https://github.com/databus23/helm-diff/issues/253 for more information.

HELM_DIFF_USE_UPGRADE_DRY_RUN=true helm diff upgarde my-release datadog/datadog

yxxhero avatar Oct 19 '24 11:10 yxxhero