kubernetes v1.34

Container.envFrom

List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

3 fields
Container.envFrom fields and descriptions
Field / TypeDescription
ConfigMapEnvSource

The ConfigMap to select from

prefix
string

Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.

SecretEnvSource

The Secret to select from