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

Fix: do not change timestamps for already existing helm charts #992

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

perk-sumo
Copy link
Contributor

@perk-sumo perk-sumo commented Oct 8, 2020

The command helm repo index is changing timestamps for already existing charts.
This seems to be intended: helm/helm#7363
Helm stable repo tests use this workaround:
https://github.com/helm/charts/blob/c6e503ccfd9911dd06ea9ac389a40a3490637516/test/repo-sync.sh#L83-L90

This PR adds the mentioned workaround to our build.

It's a first step for #987

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@perk-sumo perk-sumo force-pushed the perk-fix-helm-package-dates branch from b074bdf to af14de0 Compare October 8, 2020 11:53
@perk-sumo perk-sumo linked an issue Oct 8, 2020 that may be closed by this pull request
@perk-sumo perk-sumo changed the title Fix: do not overwrite helm package dates when adding new package Fix: do not change timestamps for already existing helm charts Oct 8, 2020
Copy link
Contributor

@pmalek-sumo pmalek-sumo left a comment

Choose a reason for hiding this comment

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

I wonder if we really need helm with sudo 🤔

ci/build.sh Outdated Show resolved Hide resolved
The command `helm repo index` is changing timestamps for already existing charts.
This seems to be intended: helm/helm#7363
Helm stable repo tests use this workaround:
https://github.com/helm/charts/blob/c6e503ccfd9911dd06ea9ac389a40a3490637516/test/repo-sync.sh#L83-L90

This commit adds the mentioned workaround to our build.
@perk-sumo perk-sumo force-pushed the perk-fix-helm-package-dates branch from af14de0 to ef78254 Compare October 8, 2020 12:18
@perk-sumo
Copy link
Contributor Author

@pmalek-sumo good idea, let's try removing sudo in another PR.

@perk-sumo perk-sumo merged commit ef78254 into master Oct 8, 2020
@perk-sumo perk-sumo deleted the perk-fix-helm-package-dates branch October 8, 2020 12:24
@perk-sumo perk-sumo added this to the v1.3 milestone Oct 16, 2020
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

Successfully merging this pull request may close these issues.

3 participants