<p>I'm deploying a kubernetes pod using helm v3, my kubectl client and server are above 1.7 so it should support reference fields. However when i deploy, the value is just empty.</p>
<p>using</p>
<pre><code>environment:
  - name: DD_AGENT_HOST
    valueFrom:
      fieldRef:
        fieldPath: status.hostIP
</code></pre>
<p>Where the DD_AGENT_HOST is my env variable that should be given the host ip.</p>
<p>Any idea on why this might be happening?</p>

<p>Had to add it this to the container specification directly, not passing from an env and using <code>include</code> from helm as that doesn't work</p>
