envFrom¶
Feature state: 1.1.0
envFrom
value in Kubedeploy can be used to define environment variables that will be configured on all containers in a Pod.
For reference see envFrom secret example or envFrom configmap example
Note
By default containers envFrom
is undefined.
Define simple envFrom for containers
values.yaml | |
---|---|
In above example, envFrom will automatically define environment variables for all containers in a Pod by extracting all the ConfigMap/Secret keys as env var names, and their values as env var values.
See also: