Support k8s Downward API / FieldRef

First off, thanks for the great product, it makes deploying to k8s that much better.

It would be great if you could support the downward API as being passed in by environment variables:

See:
https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#use-pod-fields-as-values-for-environment-variables
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#envvar-v1-core

This will allow us to send Pod information to the container through the environment variables, which in its turn allows us to have end-to-end NewRelic integration: https://blog.newrelic.com/engineering/monitoring-application-performance-in-kubernetes/

I guess it would be just another mapping over here:

Thanks,
Gidon

Hi Gidon,

We agree this would be a nice addition to the Deploy Kubernetes Containers step.
We will implement this in the next few days, and it should be available in a release very soon.
You can track this issue to see it’s progress.

Thanks for the feedback. If there’s anything else we can do, please don’t hesitate to reach out.

Regards,
Michael

Hi Michael,

This is great, thanks!

Cheers,
Gidon