Helm: subcharts are downloaded again at every execution #8287
Labels
area/cache
area/dev
deploy/helm
kind/bug
Something isn't working
priority/p2
May take a couple of releases
I'm using Helm. My service needs a DB so I added
postgresql
as a chart dependency.The subchart is downloaded once (
helm dependency build
) and corresponding.tgz
file is located in thecharts
subfolder.However, every time I launch
skaffold dev
, the file is downloaded again.Expected behavior
The file is already there, there's nothing to do (regarding subcharts).
Actual behavior
A subfolder
tmpcharts
appears for less than a second.Information
Steps to reproduce the behavior
git clone ... && cd skaffold/examples/helm-deployment
Add the following in
charts\Chart.yaml
:cd charts && helm dependency build && cd ..
You may need to
helm repo add bitnami https://charts.bitnami.com/bitnami
first.Observe that
charts\charts\postgresql-12.1.3.tgz
is created.skaffold dev
Observe that
postgresql
is downloaded again.The text was updated successfully, but these errors were encountered: