title: How to set values in helm_release
body: <p>Good day!</p>
  
  <p>I am trying to set values of the <a href="https://github.com/gardener/gpu-installer/blob/master/charts/nvidia-installer/values.yaml" rel="nofollow noreferrer">NVIDIA helm chart</a> using helm terraform provider but I am not able to define the name of the variable correctly, some of the <code>.tf file</code> looks like the below:</p>
  
  <pre><code>set {
  name  = "nvidiaInstaller.driverVersion"
  value = "${var.driverVersion}"
  }
  set {
  name  = "nvidiaInstaller.tag"
  value = "${var.tag}"
  }
  set {
  name  = "nvidiaInstaller.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key[0]"
  value = "${var.nvidiaInstallerNodeAffinityKey}"
  }
  set {
  name  = "nvidiaInstaller.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator[1]"
  value = "${var.nvidiaInstallerNodeAffinityOperator}"
  }
  </code></pre>
  
  <p>Example of defining the values:</p>
  
  <pre><code>variable "driverVersion" {default = 440.31}
  variable "tag" {default = "ae3f1b937f784b9e0d18f9dd03b67829381799c9" }
  variable "nvidiaInstallerNodeAffinityKey" {default = "gpu"}
  variable "nvidiaInstallerNodeAffinityOperator" {default = "In"}
  variable "nvidiaInstallerNodeAffinityValues" {default = "nvidia-tesla-t4"}
  </code></pre>
  
  <p>But when applying, I got the below issue:</p>
  
  <pre><code>1 error occurred:
  * module.bocr-applications.helm_release.nvidia-gpu-installer: 1 error occurred:
  * helm_release.nvidia-gpu-installer: rpc error: code = Unknown desc = release gpu-installer 
  failed: DaemonSet in version "v1" cannot be handled as a DaemonSet: v1.DaemonSet.Spec: 
  v1.DaemonSetSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Affinity: 
  v1.Affinity.NodeAffinity: v1.NodeAffinity.RequiredDuringSchedulingIgnoredDuringExecution: 
  v1.NodeSelector.NodeSelectorTerms: []v1.NodeSelectorTerm: 
  v1.NodeSelectorTerm.MatchExpressions: []v1.NodeSelectorRequirement: 
  v1.NodeSelectorRequirement.Key: ReadString: expects " or n, but found [, error found in #10 
  byte of ...|:[{"key":["gpu",null|..., bigger context ...|"nodeSelectorTerms": 
  [{"matchExpressions":[{"key":["gpu",null,"nvidia-tesla-t4"],"operator":[null,"In|...
  </code></pre>
  
  <p>Can Someone help me resolve this issue?</p>