<p>I would like to display docker container tags in Kubernetes. Currently I deploy my services with helm. My images look like this:</p>
<pre><code>    spec:
      containers:
      - name: my-service
        image: my-service:latest
</code></pre>
<p>The image my-service.latest has tags like git commit hash and branch name. In helm I do not know about the image tags, so it is not possible to set the tags over helm with &quot;--set&quot;.</p>
<p>What is the way in Kubernetes to read the image tags?</p>

soa
<blockquote>
<p>In helm I do not know about the image tags, so it is not possible to set the tags over helm with &quot;--set&quot;.</p>
</blockquote>
<p>Yes you can update image tag using helm. I have used it with jenkins before.</p>
<pre><code>helm upgrade  demo ./demo/ -f app/demo.yaml --set image.repository=3xxxxx55.dkr.ecr.eu-west-1.amazonaws.com/demo,image.tag=$BUILD_NUMBER --install --namespace demo --wait --timeout 600 --kube-context demo.k8s.net
</code></pre>
<p>Also you can use <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment" rel="nofollow noreferrer">kubectl to update image tags</a> for deployment.</p>
