<p>I have one question regarding helmfile. The question is: how to set annotations to deployment using helmfile? I've tried by using set instruction but It's not working. Also didn't find any information in docs.</p>

Andrew Striletskyi
<p>Checked very similar stack question <a href="https://stackoverflow.com/questions/49856305/how-do-i-assign-value-to-variable-in-helmfile">How do I assign value to variable in helmfile?</a>?</p>
<p>you can do <a href="https://github.com/cloudposse/geodesic/blob/0.12.0/rootfs/conf/kops/helmfile.yaml#L63-L137" rel="nofollow noreferrer">like this</a></p>
<pre><code>set:
- name: &quot;ingress.annotations.kubernetes\\.io/ingress\\.class&quot;
  value: &quot;nginx&quot;
  ...
</code></pre>
<p>or <a href="https://github.com/cloudposse/helmfiles/blob/0.2.4/helmfile.d/0300.chartmuseum.yaml#L65-L83" rel="nofollow noreferrer">like that</a></p>
<pre><code>    annotations:
      kubernetes.io/ingress.class: &quot;nginx&quot;
      kubernetes.io/tls-acme: &quot;true&quot;
</code></pre>
