EnvVarSource

data class EnvVarSource(val configMapKeyRef: ConfigMapKeySelector? = null, val fieldRef: ObjectFieldSelector? = null, val resourceFieldRef: ResourceFieldSelector? = null, val secretKeyRef: SecretKeySelector? = null)

EnvVarSource represents a source for the value of an EnvVar.

Constructors

Link copied to clipboard
constructor(configMapKeyRef: ConfigMapKeySelector? = null, fieldRef: ObjectFieldSelector? = null, resourceFieldRef: ResourceFieldSelector? = null, secretKeyRef: SecretKeySelector? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Selects a key of a ConfigMap.

Link copied to clipboard

Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata&#46;annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

Link copied to clipboard

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.

Link copied to clipboard

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