spacelift workerpool v0.0.42

WorkerPool.spec.pod.initContainer.env[].valueFrom

Source for the environment variable's value. Cannot be used if value is not empty.

5 fields
WorkerPool.spec.pod.initContainer.env[].valueFrom fields and descriptions
Field / TypeDescription
object

Selects a key of a ConfigMap.

  • x-kubernetes-map-type: "atomic"
object

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.

  • x-kubernetes-map-type: "atomic"
object

FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled.

  • x-kubernetes-map-type: "atomic"
object

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.

  • x-kubernetes-map-type: "atomic"
object

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

  • x-kubernetes-map-type: "atomic"