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

tool/charts: Allow 2 or more versions of the same chart #778

Closed
bcbrockway opened this issue Oct 13, 2022 · 1 comment · Fixed by #782
Closed

tool/charts: Allow 2 or more versions of the same chart #778

bcbrockway opened this issue Oct 13, 2022 · 1 comment · Fixed by #782

Comments

@bcbrockway
Copy link

This feature was alluded to in #508 but only validation was added in the end to prevent conflicts. We'd really like to be able to specify 2 versions of the same chart in the same repo since we have multiple Environments using it at the same time and it would be nice to be able to promote chart upgrades through them rather than having to update them all at once.

@julienduchesne
Copy link
Member

You can, you have to specify different directories:

directory: charts
repositories:
- name: fluxcd-community
  url: https://fluxcd-community.github.io/helm-charts
requires:
- chart: fluxcd-community/flux2
  version: 1.2.0
  directory: '1.2.0'
- chart: fluxcd-community/flux2
  version: 1.6.0
  directory: '1.6.0'
version: 1

Still needs to be documented

julienduchesne added a commit that referenced this issue Oct 24, 2022
Also, the `--prune` option for vendoring
Closes #778
julienduchesne added a commit that referenced this issue Oct 24, 2022
Also, the `--prune` option for vendoring
Closes #778
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 a pull request may close this issue.

2 participants