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(helm): clean-up helm depedency files #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sriaradhyula
Copy link

  • remove Chart.lock
  • dependency chart tgz file

- remove Chart.lock
- dependency chart tgz file
@FrimIdan FrimIdan requested a review from jadiaconu December 1, 2021 06:18
@FrimIdan
Copy link
Member

FrimIdan commented Dec 1, 2021

@sriaradhyula thanks for the contribution.
Can you explain please why the files are not needed?


# helm
*.tgz
Chart.lock
Copy link
Contributor

Choose a reason for hiding this comment

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

Without the lock file, helm will retry to update dependencies. Similar to package.lock for npm.
Having the tgz of the dependencies avoids any problems in the pipeline (the tgz is normally very small). But we can also do without. Why do you think it is better without ?

Every time we update the chart and lock and the tgz will be updated.

Copy link
Author

@sriaradhyula sriaradhyula Dec 1, 2021

Choose a reason for hiding this comment

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

@FrimIdan @jadiaconu
helm dependency update pulls down the upstream dependent charts, so newer updates to upstream charts are not maintained in this git repo.

The downside is that it adds an additional step helm dependency update before installing the chart, but keeps the repo clean of binary blobs (there is a bit of trade-off)

I am ok if we leave *.tgz file in the repo, but we have to keep in mind that in the long-term it may bloat the git repo.

Copy link
Contributor

Choose a reason for hiding this comment

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

So @sriaradhyula are you suggesting to keep the Chart.lock and remove the tgz ?

Copy link
Member

Choose a reason for hiding this comment

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

so newer updates to upstream charts are not maintained in this git repo

@sriaradhyula not sure I understand why we need to pull newer updates, we want to stick with a version that we tested and it worked, no?

The downside is that it adds an additional step helm dependency update before installing the chart

Who will need to run helm dependency update the user or us in the workflow before packaging the chart?

danielvladco pushed a commit to danielvladco/apiclarity that referenced this pull request May 6, 2022
…mn_selection_in_event_table

MAN-8851_UI_Implement_column_selection_in_event_table
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