core.v1.envVarSource
"EnvVarSource represents a source for the value of an EnvVar."
Index
obj configMapKeyRef
fn withKey(key)
fn withName(name)
fn withOptional(optional)
obj fieldRef
fn withApiVersion(apiVersion)
fn withFieldPath(fieldPath)
obj resourceFieldRef
fn withContainerName(containerName)
fn withDivisor(divisor)
fn withResource(resource)
obj secretKeyRef
fn withKey(key)
fn withName(name)
fn withOptional(optional)
Fields
obj configMapKeyRef
"Selects a key from a ConfigMap."
fn configMapKeyRef.withKey
withKey(key)
"The key to select."
fn configMapKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn configMapKeyRef.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj fieldRef
"ObjectFieldSelector selects an APIVersioned field of an object."
fn fieldRef.withApiVersion
withApiVersion(apiVersion)
"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."
fn fieldRef.withFieldPath
withFieldPath(fieldPath)
"Path of the field to select in the specified API version."
obj resourceFieldRef
"ResourceFieldSelector represents container resources (cpu, memory) and their output format"
fn resourceFieldRef.withContainerName
withContainerName(containerName)
"Container name: required for volumes, optional for env vars"
fn resourceFieldRef.withDivisor
withDivisor(divisor)
"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n
fn resourceFieldRef.withResource
withResource(resource)
"Required: resource to select"
obj secretKeyRef
"SecretKeySelector selects a key of a Secret."
fn secretKeyRef.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn secretKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn secretKeyRef.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"