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

Downloading chart dependencies and saving them using their alias when one is configured. #12930

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

Conversation

ehardy
Copy link

@ehardy ehardy commented Apr 8, 2024

What this PR does / why we need it:

When multiple dependencies having the same name but different aliases are specified, dependencies are not saved to disk using their configured alias when executing helm dependency update. An error is reported with regards to an invalid version.

It seems this issue was reported in the past here and here.

Special notes for your reviewer:

I'm relatively new to Helm, even more so to its codebase. Decided to take a crack at addressing this issue. I'm sure there are many concerns that I have overlooked. Would like to get feedback if this is a solution worth polishing and pursuing.

I have essentially introduced copies of the download and verification functions/methods. If the solution is worth pursuing, some refactoring would be necessary I believe.

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 8, 2024
… one is configured.

When multiple dependencies having the same name but different aliases are specified,
dependencies are not saved to disk using their configured alias and an error is reported
with regards to an invalid version.

Signed-off-by: Etienne Hardy <etienne.hardy@gmail.com>
@ehardy ehardy force-pushed the save-dependency-using-alias branch from 499c520 to 3735729 Compare April 9, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant