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

Handle aliases in chart dependencies #106

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

hardys
Copy link
Contributor

@hardys hardys commented Jul 30, 2023

It's valid to have multiple dependencies with alternate aliases which currently are removed on chart generation.

One way to resolve this is just to operate directly on the dependencies list instead of generating a map keyed by name, which is less efficient but avoids the problem of removing valid dependencies that use aliases.

Fixes: #18

@hardys
Copy link
Contributor Author

hardys commented Jul 30, 2023

/cc @rohitsakala

It's valid to have multiple dependencies with alternate aliases which
currently are removed on chart generation.

One way to resolve this is just to operate directly on the dependencies
list instead of generating a map keyed by name, which is less efficient
but avoids the problem of removing valid dependencies that use aliases.

Fixes: rancher#18
@rohitsakala rohitsakala merged commit 29fefe6 into rancher:master Aug 1, 2023
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.

Support aliasing with dependency.yaml
2 participants