OS
OpenSpec HUB

EnvVarSource

EnvVarSource represents a source for the value of an EnvVar.

Resource Structure

Interactive Tree
configMapKeyRefobject
Selects a key of a ConfigMap.
fieldRefobject
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
fileKeyRefobject
FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled.
resourceFieldRefobject
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
secretKeyRefobject
Selects a key of a secret in the pod's namespace
OpenSpec HUB
Source: core.api.k8s.io/EnvVarSource_v1.json