<p>I have defined a parent chart called  base-microservice and is available at mycompany.github.com/pages/base-microservice</p>

<p>Structure is as follows :</p>

<pre><code> base-microservice
    - templates
        - deployment.yaml
                 - ingress.yaml
         - service.yaml
    - Chart.yaml
    - values.yaml
- index.yaml
- base-microservice-0.1.0.tgz
</code></pre>

<p>I would like to define a customapp chart which inherits from the parent chart.</p>

<p>Structure is as follows :</p>

<pre><code>customapp-service
    - customapp
                - Chart.yaml
        - charts
        - requirements.yaml
        - values.yaml
    - src
</code></pre>

<p>requirements.yaml is as follows :</p>

<pre><code>dependencies:
    - name: base-microservice
      repository: https://mycompany.github.com/pages/base-microservice
      version: 0.1.0
</code></pre>

<p>When I do</p>

<pre><code>helm install --repo https://mycompany.github.com/pages/base-microservice --name customapp --values customapp/values.yaml
</code></pre>

<p>It creates and deploys base-microservice instead of customapp..
in other words my Chart.yaml and values.yaml in custom app chart  don’t override what was defined in the base
one..</p>

<p>Kindly advice how to structure the app ?</p>

<p>You may want to read the <a href="https://helm.sh/docs/chart_template_guide/subcharts_and_globals/" rel="noreferrer">Subcharts and Global Values</a> doc page within Helm's repo. It covers Creating a Subchart, Adding Values and a Template to the Subchart, Overriding Values from a Parent Chart, Global Chart Values, and Sharing Templates with Subcharts. It sounds like you want the example in <a href="https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#overriding-values-from-a-parent-chart" rel="noreferrer">Overriding Values from a Parent Chart</a>. Note that all values passed from the parent to the subchart are nested below a YAML key by the same name as the subchart. <code>--set</code> syntax is the same concept, just prefix the key with the subchart name (<code>--set subchartname.subchartkey=myvalue</code>.</p>

<p>Also, docs.helm.sh has good, consolidated Helm documentation, and the <a href="https://helm.sh/docs/topics/charts/#scope-dependencies-and-values" rel="noreferrer">Scope, Dependencies, and Values</a> section of Intro To Charts gives more context to the use case above as well as others.</p>
