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

Keep helm repositories in sync across multiple pipeline instances #3418

Open
lpuskas opened this issue Feb 3, 2021 · 1 comment
Open

Keep helm repositories in sync across multiple pipeline instances #3418

lpuskas opened this issue Feb 3, 2021 · 1 comment
Assignees

Comments

@lpuskas
Copy link
Member

lpuskas commented Feb 3, 2021

Is your feature request related to a problem? Please describe.
Helm repositories in pipeline are updated through api calls. The state of helm repositories should be in sync across pipeline instances

Describe the solution you'd like to see
Helm repositories should transparently be synchronised on all pipeline instances:

  • maintain a hash of the repository related files in the database (indexfile + chart file)
  • on every operation check the hash generated from the file system and the one stored in the database
  • perform an update if appropriate
  • update the hash in the database with the one generated from the filesystem after the update id done
  • also store a hash in. the database when a new repository is added to the filesystem
@lpuskas lpuskas self-assigned this Feb 3, 2021
@sagikazarmark
Copy link
Member

I wonder if rewriting the helm repository management to use the database would be easier/more stable than an arbitrary solution built on top.

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

2 participants