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: append additional files correctly for sub charts #2216

Merged
merged 1 commit into from Sep 25, 2021

Conversation

morningvera
Copy link
Contributor

What type of PR is this?

kind/bug

What this PR does / why we need it:

This fixes an issue that was causing Chart.yaml and Chart.lock to be ignored for Helm sub-charts. With this fix, any level of sub-chart nesting should work now.

It still handles the special case where base.Path == "" for the top-level Chart.yaml and Chart.lock. For sub-charts, it does a slightly different check to find the correct additional files. Previously those additional files were being ignored which led to a Helm error when deploying.

Which issue(s) this PR fixes:

Fixes SH37929

Does this PR introduce a user-facing change?

Fixed a Helm issue where Chart.yaml and Chart.lock files were being ignored and lost for sub-charts of sub-charts.

Does this PR require documentation?

NONE

@morningvera morningvera added the type::bug Something isn't working label Sep 25, 2021
@morningvera morningvera requested review from divolgin, a team and jeffreygolden and removed request for divolgin September 25, 2021 00:07
@morningvera
Copy link
Contributor Author

morningvera commented Sep 25, 2021

the fix

sub-chart-fix

@morningvera morningvera removed the request for review from jeffreygolden September 25, 2021 00:13
@morningvera morningvera merged commit e20e23c into master Sep 25, 2021
@morningvera morningvera deleted the fix-sub-sub-charts branch November 20, 2021 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants