<p>i'm triyng to do one Helm Chart for different environments. In many tutorials such scheme should works, but my structure does not read value from dependency repository. Helm just ignores it.</p>
<p>I have following folder structure</p>
<pre><code>helm
   - charts
       - core-web
           - Chart.yaml
           - values.yaml
           - templates
       - frontend
           - Chart.yaml
           - values.yaml
           - templates
   - prod
       - Chart.yaml
       - values.yaml
   - dev
       - Chart.yaml
       - values.yaml
</code></pre>
<p>prod/Chart.yaml</p>
<pre><code>apiVersion: v1
name: test
version: 1.0.0

dependencies:
  - name: core-web
    version: &quot;1.37.0&quot;
    repository: file://../charts/core-web/
  - name: frontend
    version: &quot;1.6.0&quot;
    repository: &quot;file://../charts/frontend&quot;
</code></pre>
<p>From helm folder i execute following command</p>
<pre><code>helm install ./prod --dry-run --generate-name -n sandbox -f prod/values.yaml
Error: INSTALLATION FAILED: found in Chart.yaml, but missing in charts/ directory: core-web, frontend
</code></pre>
<p>If i move charts forlder to prod folder, then everithing works.
Why helm does not accept file path from dependency repository?
It should: <a href="https://helm.sh/docs/helm/helm_dependency/" rel="nofollow noreferrer">https://helm.sh/docs/helm/helm_dependency/</a></p>
<p>Thanks for the help.</p>

<p>Try to replicate the issue, seems like a cache issue</p>
<p>you can verify that helm dependency on which path it's looking for <code>charts</code>.</p>
<pre><code>helm template test ./prod
#output Error: found in Chart.yaml, but missing in charts/ directory: backend, web-app
</code></pre>
<p>then I tried to verify the path on which the helm looking</p>
<pre><code>helm dep ls ./prod
</code></pre>
<p>from the output its clear it's still looking into the wrong path with the <strong>status</strong> <code>missing</code> as its still looking for chart inside <code>prod</code> folder.</p>
<pre><code>NAME    VERSION REPOSITORY              STATUS
backend 1.2.3   file://charts/backend/  missing
web-app 1.2.3   file://charts/web-app/  missing
</code></pre>
<p>so to fix this</p>
<pre><code>helm dependency update  ./prod
</code></pre>
<p>then I can see</p>
<pre><code>helm dep ls ./prod
</code></pre>
<p><a href="https://i.stack.imgur.com/2DJqe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2DJqe.png" alt="enter image description here" /></a></p>
