core.v1.downwardAPIVolumeFile
"DownwardAPIVolumeFile represents information to create the file containing the pod field"
Index
fn withMode(mode)
fn withPath(path)
obj fieldRef
fn withApiVersion(apiVersion)
fn withFieldPath(fieldPath)
obj resourceFieldRef
fn withContainerName(containerName)
fn withDivisor(divisor)
fn withResource(resource)
Fields
fn withMode
withMode(mode)
"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."
fn withPath
withPath(path)
"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"
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"