<p>I have deployed a Pod with several containers. In my Pod I have certain environment variables that I can access in Python script with <code>os.getenv()</code>. However, if I try to use <code>os.getenv</code> to access the Container's environment variables I get an error stating they don't exist (NoneType). When I write <code>kubectl describe pod &lt;POD_Name&gt;</code> I see that all the environment variables (both Pod and Container) are set.</p>
<p>Any ideas?</p>

Kristoffer Lindvall
<p>The issue was in creating helm tests. In order to get the environment variables from the containers in a helm test then the environment variables need to be duplicated in the test.yaml file or injected from a shared configmap.</p>
