<p>I want to know if it is possible to pass variables to an <code>helm install</code> command's set parameter. Below is an example of what I'm looking to achieve.</p>

<pre><code>appgw_name = "myappgateway"
export appgw_name
helm install applicationgw application-gateway-kubernetes-ingress/ingress-azure --set appgw.name=$appgw_name
</code></pre>

<p>I'm executing the above two lines as a shell script and when I try to execute them I get the below error:</p>

<blockquote>
  <p>Error: execution error at (ingress-azure/templates/configmap.yaml):
  Please either provide appgw.applicationGatewayID or appgw.name.</p>
</blockquote>

vishal
<p>The parameter will be resolved by your shell. If you write these directly from the command line you need to either export the env variable or execute then together in one line.</p>

<p>Try this:</p>

<pre><code>export appgw_name="myappgateway"
helm install applicationgw application-gateway-kubernetes-ingress/ingress-azure --set appgw.name=${appgw_name}
</code></pre>
