Get the difference between installed chart and remote chart
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.
+1
@fmunteanu what's your user case?
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.
Same approach here.
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
+1
My use-case would be to utilize
helm-diffin 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 thevalues.yamlas a PR comment so I can upgrade myvalues.yaml, without needing to look at the Helm Chart Documentation.
Also looking for this!