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

Get the difference between installed chart and remote chart

Open fmunteanu opened this issue 1 year ago • 7 comments

Currently, I'm running the following commands to display the value differences between an installed helm chart version and a newly released version:

# Get installed cilium 1.16.2 helm chart values
$ helm get values cilium -an kube-system | yq -Sy | tail -n +2 > v1.16.2.yaml
# Get remote cilium 1.16.3 helm chart values
$ helm show values cilium/cilium -n kube-system --version 1.16.3 | yq -Sy > v1.16.3.yaml
# Show differences
$ diff -Naur v1.16.2.yaml v1.16.3.yaml

Is there a way to obtain the same result with helm-diff? Thank you.

fmunteanu avatar Oct 27 '24 22:10 fmunteanu

+1

dorkamotorka avatar Feb 19 '25 09:02 dorkamotorka

@fmunteanu what's your user case?

yxxhero avatar Feb 19 '25 09:02 yxxhero

My use-case would be to utilize helm-diff in conjunction with Renovate.

When Renovate upgrades a helm chart version (by opening a PR), in the next step (probably in a GitHub Action or as a part of Renovate script) I would run helm-diff, to render the changes in the values.yaml as a PR comment so I can upgrade my values.yaml, without needing to look at the Helm Chart Documentation.

dorkamotorka avatar Feb 19 '25 10:02 dorkamotorka

Same approach here.

fmunteanu avatar Feb 19 '25 17:02 fmunteanu

This would be a great addition! As a helm user I don't want to worry too much about the underlying manifests when upgrading and would prefer to stay in "helm-land" just dealing with the chart values.

Edit: An option to pass in helm values would also be useful for my case

pb4162 avatar Apr 28 '25 17:04 pb4162

+1

carlos-lehmann avatar Jun 03 '25 23:06 carlos-lehmann

My use-case would be to utilize helm-diff in conjunction with Renovate.

When Renovate upgrades a helm chart version (by opening a PR), in the next step (probably in a GitHub Action or as a part of Renovate script) I would run helm-diff, to render the changes in the values.yaml as a PR comment so I can upgrade my values.yaml, without needing to look at the Helm Chart Documentation.

Also looking for this!

IvanJosipovic avatar Sep 24 '25 16:09 IvanJosipovic