kubernetes v1.37

PodTemplateSpec.spec.ephemeralContainers.env.valueFrom.configMapKeyRef

Selects a key from a ConfigMap.

3 fields
PodTemplateSpec.spec.ephemeralContainers.env.valueFrom.configMapKeyRef fields and descriptions
Field / TypeDescription
key
string required

The key to select from the ConfigMap's Data field. Keys in the BinaryData field are not currently propagated to container env vars.

name
string

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

optional
boolean

Specify whether the ConfigMap or its key must be defined