title: Kubernetes deployments: Editing the 'spec' of a pod's YAML file fails
body: <p>The <code>env</code> element added in <code>spec.containers</code> of a pod using K8 dashboard's <em>Edit</em> doesn't get saved. Does anyone know what the problem is? </p>
  
  <p>Is there any other way to add environment variables to pods/containers? </p>
  
  <p>I get this error when doing the same by editing the file using nano:</p>
  
  <pre><code># pods "EXAMPLE" was not valid:
  # * spec: Forbidden: pod updates may not change fields other than `containers[*].image` or `spec.activeDeadlineSeconds`
  </code></pre>
  
  <p>Thanks.</p>