title: How to set annotations for a helm install
body: <p>I am trying to install the chart <a href="https://github.com/helm/charts/tree/master/stable/efs-provisioner" rel="nofollow noreferrer">stable/efs-provisioner</a> and I would like to apply an annotation so that the deployment is correctly tagged in datadog.</p>
  
  <p>Datadog requires the <a href="https://docs.datadoghq.com/agent/autodiscovery/tag/?tab=agent" rel="nofollow noreferrer">annotation</a>: <code>ad.datadoghq.com/tags: '{"env": "staging"}'</code> </p>
  
  <p>I have tried various incantations of the following, but I keep getting the error below.</p>
  
  <pre><code>$ helm install efs-provisioner stable/efs-provisioner \
    --set efsProvisioner.efsFileSystemId=fs-a1b2c3d4 \ 
    --set efsProvisioner.awsRegion=us-east-1 \
    --set annotations."ad\.datadoghq\.com/tags"="{\'env\': \'staging\'}"
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Error: YAML parse error on efs-provisioner/templates/storageclass.yaml: 
  error unmarshaling JSON: while decoding JSON: 
  json: cannot unmarshal array into Go struct field .metadata.annotations of type string
  </code></pre>