Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

helm: do not include non-template files in chart data #242

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Jan 24, 2020

As the non-template files include the requirements.lock file,
which in case of a chart with dependencies differs every time
a dry-run happens due to the generation timestamp it includes,
resulting in spurious upgrades.

Other files included there are non-trivial for the detection of
changes as their effects are either captured in other parts of
the chart metadata, or do not matter at all for the release
itself, like the contents of a README.md.

Fixes #218

As the non-template files include the `requirements.lock` file,
which in case of a chart with dependencies differs every time
a dry-run happens due to the generation timestamp it includes,
resulting in spurious upgrades.

Other files included there are non-trivial for the detection of
changes as their effects are either captured in other parts of
the chart metadata, or do not matter at all for the release
itself, like the contents of a `README.md`.
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiddeco hiddeco merged commit 25554c2 into master Jan 24, 2020
@hiddeco hiddeco deleted the bug/git-chart-deps-upgrade branch January 24, 2020 12:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repeated upgrades with helm operator even though there is no change
2 participants