Custom k8s environment variables for Node-RED applications #166
Labels
customer request
requested by customer
feature-request
New feature or request that needs to be turned into Epic/Story details
needs-triage
Needs looking at to decide what to do
size:M - 3
Sizing estimation point
Description
Presently, Node-RED apps in k8s have a set of environment variables that cannot be added to. This makes setting custom environment variables impossible without using k8s webhooks.
For example, in our use case, we want to be able to set a
HOST_IP
environment variable that makes use of k8sfieldRef
to get the IP address of the node that the pod is running on. This is because we have a node-level Open Telemetry collector running on port4317
accessible via the node's IP address. By using this functionality, we would always get the right IP address regardless of the node that a Node-RED app is running on.An example of additional environment variables for a container's
env
setting is given below:Requested By
The text was updated successfully, but these errors were encountered: