<p>I created a helm chart which is deriving value of <code>app.kubernetes.io/instance</code> from a template value like this:</p>

<pre><code>labels:
    app.kubernetes.io/name: {{ include "mychart.name" . }}
    helm.sh/chart: {{ include "mychart.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
</code></pre>

<p>I don't know in which file and how to override its value. I don't want to override it by command line as described at <a href="https://stackoverflow.com/questions/51718202/helm-how-to-define-release-name-value">Helm how to define .Release.Name value</a></p>

<p>The intention is that you don't set the <code>.Release.Name</code> within the helm chart. It is either set to an automatically generated value by helm when the user runs <code>helm install</code> or is set by the user as a parameter with <code>helm install &lt;name&gt;</code>. Imagine if the chart were to set the value of <code>.Release.Name</code> - the user would still be able to set a different value for it with <code>helm install &lt;name&gt;</code> and there would then be a conflict where it wouldn't be clear which name would be used.</p>
