I would like to run a pod on one of my IoT devices.
Each one of those devices contains an environment variable I want this pod to use.
Is there any way to inject this env variable into the pod using build-in templating of helm/kubectl?
I was trying the following on my deployment.yaml file:
env:
- name: XXX
value: $ENV_FROM_HOST
but when executing the pod and trying the get XXX value, I get the string $ENV_FROM_HOST instead of its value from the host:
$ echo $XXX
$ENV_FROM_HOST
Thanks.