<p>I have created basic helm template using <code>helm create</code> command. While checking the  template for Ingress its adding the string RELEASE-NAME and appname like this <code>RELEASE-NAME-microapp</code></p>

<p>How can I change <code>.Release.Name</code> value?</p>

<pre><code>helm template --kube-version 1.11.1  microapp/

# Source: microapp/templates/ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: RELEASE-NAME-microapp
  labels:
    app: microapp
    chart: microapp-0.1.0
    release: RELEASE-NAME
    heritage: Tiller
  annotations:
    kubernetes.io/ingress.class: nginx
</code></pre>

sfgroups
<p>This depends on what version of Helm you have; <code>helm version</code> can tell you this.</p>
<p>In Helm version 2, it's the value of the <code>helm install --name</code> parameter, or absent this, a name Helm chooses itself.  If you're checking what might be generated via <code>helm template</code> that also takes a <code>--name</code> parameter.</p>
<p>In Helm version 3, it's the first parameter to the <code>helm install</code> command.  Helm won't generate a name automatically unless you explicitly ask it to <code>helm install --generate-name</code>.  <code>helm template</code> also takes the same options.</p>
<p>Also, in helm 3, if you want to specify a name explicitly, you should use the <code>--name-template</code> flag. e.g. <code>helm template --name-template=dummy</code> in order to use the name <code>dummy</code> instead of <code>RELEASE-NAME</code></p>
