title: Accessing environment variables from a pod
body: <p>I wrote golang program which fetches values from environment variable set in my system using export var name = somevalue.</p>
  <pre><code>cloudType = os.Getenv(&quot;CLOUD_TYPE&quot;)
  clusterRegion = os.Getenv(&quot;CLUSTER_REGION&quot;)
  clusterType = os.Getenv(&quot;CLUSTER_TYPE&quot;)
  clusterName = os.Getenv(&quot;CLUSTER_NAME&quot;)
  clusterID = os.Getenv(&quot;CLUSTER_ID&quot;)
  </code></pre>
  <p>As mentioned above my program tries to fetch values from env var set in system using getenv func.The program is working good if run it and fetching values from env variables. But When I tried building a image and running it inside a pod it was able to fetch values from the env var. It is giving empty values. Is there any way to access the local env var from the pod?</p>