title: using node selector helm chart to assign pods to a specific node pool
body: <p>i'm trying to assign pods to a specific node as part of helm command, so by the end the deployment yaml  should look like this</p>
  <pre><code>spec:
    containers:
    - name: nginx
      image: nginx
      imagePullPolicy: IfNotPresent
    nodeSelector:
      node-name: dev-cpu-pool
  </code></pre>
  <p>i'm using this command as part of Jenkins file deployment</p>
  <pre><code>`sh &quot;helm upgrade -f charts/${job_name}/default.yaml --set nodeSelector.name=${deployNamespace}-cpu-pool --install ${deployNamespace}-${name} helm/${name} --namespace=${deployNamespace} --recreate-pods --version=${version}`&quot;
  
                  
  </code></pre>
  <p>the deployment works good and the pod is up and running but from some reason i cannot see the nodeSelector key and value as part of the deployment yaml and as a results pods not assign to the specific node i want. any idea what is wrong ? should i put any place holder as part of my chart template or is not must ?</p>