Skip to content

Get the difference between installed chart and remote chart #677

Open

Description

@fmunteanu

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.

Activity

  1. dorkamotorka commented on Feb 19, 2025

    @dorkamotorka

    +1

  2. yxxhero commented on Feb 19, 2025

    @yxxhero
    Collaborator

    @fmunteanu what's your user case?

  3. dorkamotorka commented on Feb 19, 2025

    @dorkamotorka

    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.

  4. fmunteanu commented on Feb 19, 2025

    @fmunteanu
    Author

    Same approach here.

  5. pb4162 commented on Apr 28, 2025

    @pb4162

    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

  6. carlos-lehmann commented on Jun 3, 2025

    @carlos-lehmann

    +1

  7. IvanJosipovic commented on Sep 24, 2025

    @IvanJosipovic

    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!

  8. rguhr commented on Apr 13, 2026

    @rguhr

    I created a shell script to compare the values of different chart versions:
    https://gist.github.com/rguhr/43a8cf1762beb15194899ebd85e488ab

    This is useful when preparing for updates to check which values have been added and which have been changed or removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions