title: How to trigger change in sha256sum of rendered configmap in helm?
body: <p>I have a setting in my <code>configmap.yaml</code></p>
  
  <pre><code>---
  apiVersion: V2.23
  kind: ConfigMap
  metadata:
     name: my-configmap
  data: 
     image.tag: {{ .Values.image.tag }}
  </code></pre>
  
  <p>Then in <code>deployment.yaml</code> I have this line:</p>
  
  <pre><code>  annotations:
      checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
  </code></pre>
  
  <p>Then in <code>values.yaml</code> I have this line:</p>
  
  <pre><code>image:
    repository: myrepo
    tag: latest
    pullPolicy: IfNotPresent
  </code></pre>
  
  <p>If I have the following <code>helm</code> command in my <code>Jenkinsfile</code></p>
  
  <pre><code>        sh """
            helm upgrade --install --force \
            --namespace=default \
            --values=values.yaml \
            --set image.tag=${output_of_git-describe} \
            --set image.pullPolicy=Always \
            myimage kubernetes/myimage
         """
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <ol>
  <li>Will the <code>sha256</code> for <code>configmap.yaml</code> actually get changed based on the helm command I have in my <code>Jenkinsfile</code>?</li>
  <li>Is there a <code>helm</code> command I can run to display the sha256 of <code>configmap.yaml</code>?</li>
  </ol>