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

Option to ignore specific keys

Open timstoop opened this issue 3 years ago • 2 comments

Currently, there's an option to ignore entire resources, but I believe it's not possible to ignore specific keys instead. I'd love to be able to ignore things like .metadata.labels.helm.sh/chart and the like, as those are usually the most common and least interesting. Having the option to ignore a preset list of those key by default would make life a lot easier.

timstoop avatar Sep 07 '22 08:09 timstoop

Helmfile user here. We had this this idea of tracking the helmfile runs using a label injected using kustomize into every freshly deployed resource. But being an updated value it triggers helmfile every time for every release event if there was no meaningful update. Helmfile bases its decision on helm-diff, so a way to ignore a label change would allow us to do exactly what we want.

gfdsa avatar Oct 27 '22 08:10 gfdsa

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 21 '23 20:05 stale[bot]

https://github.com/databus23/helm-diff/pull/475

yxxhero avatar May 25 '24 01:05 yxxhero