Skip to content

Conversation

@runyontr
Copy link
Contributor

@runyontr runyontr commented Feb 2, 2021

Fixes #277
Fixes #279

Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! 🐛 🎣

Can you please trim down your commit message to a length of 50 characters, and rebase on main?

@hiddeco hiddeco changed the title fix loop to properly escape outter forloop when dependency is already present Properly escape outer loop for present dependency Feb 2, 2021
@hiddeco
Copy link
Member

hiddeco commented Feb 2, 2021

This also seems to be the fix for #277:

$ kubectl cp source-system/source-controller-6fbd66f546-kz2cg:/data/helmchart/default/dummy-chart/dummy-0.1.0.tgz ./test.tgz
$  tar -tf test.tgz
dummy/Chart.yaml
dummy/Chart.lock
dummy/values.yaml
dummy/templates/NOTES.txt
dummy/templates/_helpers.tpl
dummy/templates/serviceaccount.yaml
dummy/.helmignore
dummy/charts/dependency/Chart.yaml
dummy/charts/dependency/values.yaml
dummy/charts/dependency/templates/NOTES.txt
dummy/charts/dependency/templates/_helpers.tpl
dummy/charts/dependency/templates/serviceaccount.yaml
dummy/charts/dependency/.helmignore

versus the structure reported in #277 (comment).

To prevent dependencies that are already present locally to be included.

Signed-off-by: Thomas Runyon <runyontr@gmail.com>
@hiddeco hiddeco added area/helm Helm related issues and pull requests bug Something isn't working labels Feb 2, 2021
@hiddeco hiddeco merged commit ec05e0e into fluxcd:main Feb 2, 2021
@runyontr runyontr deleted the runyontr-279 branch February 2, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/helm Helm related issues and pull requests bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Helm Dependency update occurs even when dependencies are present Source controller fails to create some helm package from git repository

2 participants