-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 using same helm chart with different versions #4999
Fix using same helm chart with different versions #4999
Conversation
|
Welcome @dlish! |
Hi @dlish. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR has multiple commits, and the default merge method is: merge. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I have not looked at the code yet but this sounds like correct behavior and will fix #4813 in the same way that I'd imagined fixing it. /triage accepted /cc @koba1t @annasong20 could one of you give this a review? |
/assign koba1t |
Looks like there's been a number of changes to the |
Thanks! /priority important-soon |
/kind bug |
5962f10
to
936a14c
Compare
34d979d
to
380abb9
Compare
/lgtm |
/lgtm Thank you so much for your contribution! Please feel free to reach out on the kubernetes slack if you are interested in picking up any other issues. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlish, natasha41575 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Did the behavior change here so that now kustomize always has Helm download a tar archive, even if the charts directory already exists, populated with the content of the tar archive? Before version 5.0.2, kustomize wouldn't try to download that archive again. I find that if I download and then place the tar archive where helm pull would put it, then the command fails, because the file already exists. |
Ah, the Chart.yaml file now sits one directory component deeper, with the containing directory tree looking like the following:
@dlish, what motivates repeating the chart name in the minecraft directory within the minecraft-3.1.4 directory? |
Introduce version 5.0.2, and make that the default version. Remove version 4.5.5. Accommodate kubernetes-sigs/kustomize#4999 by relocating the extracted Helm chart in the unit test data, placing the directory one level deeper within a new containing directory distinguishing the files for each version.
This reverts commit 0f244a4.
…-sigs#4999)" This reverts commit 0f244a4.
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
* Fix using same helm chart with different versions * Fix p.ValuesFile when version is set * Updated: Fix using same helm chart with different versions * Add test for issue kubernetes-sigs#4813 * Use if/else for readability, add version check to absChartHome
Fixes #4813
When a helm chart version is specified it sets
--untardir
to includename-version
i.e.charts/terraform-1.1.2
.If no version is specified the behavior stays the same in that it pulls the latest version with
--untardir
set to the charts directory ex.charts
Example
Running
kustomize build --enable-helm
produces the following in thecharts
directory