EnvVarSourcePatchArgs

data class EnvVarSourcePatchArgs(val configMapKeyRef: Output<ConfigMapKeySelectorPatchArgs>? = null, val fieldRef: Output<ObjectFieldSelectorPatchArgs>? = null, val resourceFieldRef: Output<ResourceFieldSelectorPatchArgs>? = null, val secretKeyRef: Output<SecretKeySelectorPatchArgs>? = null) : ConvertibleToJava<EnvVarSourcePatchArgs>

EnvVarSource represents a source for the value of an EnvVar.

Constructors

Link copied to clipboard
constructor(configMapKeyRef: Output<ConfigMapKeySelectorPatchArgs>? = null, fieldRef: Output<ObjectFieldSelectorPatchArgs>? = null, resourceFieldRef: Output<ResourceFieldSelectorPatchArgs>? = null, secretKeyRef: Output<SecretKeySelectorPatchArgs>? = null)

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

Functions

Link copied to clipboard
open override fun toJava(): EnvVarSourcePatchArgs