Search code examples
kuberneteskubernetes-helmhelmfile

Helmfile annotations


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.


Solution

  • Checked very similar stack question How do I assign value to variable in helmfile??

    you can do like this

    set:
    - name: "ingress.annotations.kubernetes\\.io/ingress\\.class"
      value: "nginx"
      ...
    

    or like that

        annotations:
          kubernetes.io/ingress.class: "nginx"
          kubernetes.io/tls-acme: "true"