<p>I was trying to override the image tag in Helm3 using upgrade command by setting the variable at command line but it did not work. Has someone tried this feature in Helm3. 
Stuck for last couple of days, would be helpful to know your views.</p>

<p>Deployment manifest file looks like this:-</p>

<blockquote>
<pre><code>    containers:
   - image: {{ .Values.image.repository }}:{{.Values.image.tag}}
     imagePullPolicy: Always
</code></pre>
</blockquote>

<p>Executing this command from command line:-  </p>

<pre><code>&gt; helm upgrade resources-dev resources --set image.tag=72615 --dry-run --debug
</code></pre>

<p>does not override image tag value from 72626 to 72615</p>

<pre><code> containers:
  - image: aksresourcesapi.azurecr.io/microservicesinitiative:72626
    imagePullPolicy: Always
</code></pre>

<p>Deployment file
<a href="https://i.stack.imgur.com/kr8tB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kr8tB.png" alt="enter image description here"></a></p>

<p>Command Results:-
helm upgrade resources-dev resources --set image.tag=72615 --reuse-values
<a href="https://i.stack.imgur.com/o4sAf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o4sAf.png" alt="enter image description here"></a>
Command Results of 
helm upgrade resources-dev resources --set-string image.tag=72615 
<a href="https://i.stack.imgur.com/5KALa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5KALa.png" alt="enter image description here"></a></p>

<p>Issue is identified, it's not with a --set flag but with the kind of directory structure I have for charts.</p>

<p><a href="https://i.stack.imgur.com/VzdMh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VzdMh.png" alt="enter image description here"></a></p>

<p>while executing the command </p>

<blockquote>
  <p>helm upgrade resources-dev resources --set image.tag=72615</p>
</blockquote>

<p>one level up where resources (charts) folder is, it looks for image.tag in "Values.yaml" file of resources folder and not the "Values.yaml" file of backend folder and thus the tags are not replaced.</p>

<p>By executing the below command with <strong>backend.imge.tag</strong> worked
helm upgrade resources-dev resources --install --set backend.image.tag=72615</p>
