title: How to access kubernetes namespace from a yaml file
body: <p>Im trying to create yaml for deployment with kubernetes. I am using a same script for different environment, which is separated with namespace. Now, I need to access the namespace name within the deployment yaml, such as </p>
  
  <pre><code>"name":"$(namespace)"
  </code></pre>
  
  <p>in the yaml file. Is it possible to do so?</p>