Manifests.io

Easy to use kubernetes documentation

Pod.spec.initContainers.env.valueFrom

EnvVarSource represents a source for the value of an EnvVar.

Description
configMapKeyRef 🔗
ConfigMapKeySelector

Selects a key of a ConfigMap.

fieldRef 🔗
ObjectFieldSelector

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.

resourceFieldRef 🔗
ResourceFieldSelector

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.

secretKeyRef 🔗
SecretKeySelector

Selects a key of a secret in the pod's namespace

See an issue here?