Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the difference between installed chart and remote chart #677

Open
fmunteanu opened this issue Oct 27, 2024 · 4 comments
Open

Get the difference between installed chart and remote chart #677

fmunteanu opened this issue Oct 27, 2024 · 4 comments

Comments

@fmunteanu
Copy link

fmunteanu commented Oct 27, 2024

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.

@dorkamotorka
Copy link

+1

@yxxhero
Copy link
Collaborator

yxxhero commented Feb 19, 2025

@fmunteanu what's your user case?

@dorkamotorka
Copy link

dorkamotorka commented Feb 19, 2025

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.

@fmunteanu
Copy link
Author

Same approach here.

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

No branches or pull requests

3 participants