Projection that may be projected along with other supported volume types
new()
information about the configMap data to project
mixinInstance(configMap)
withItems(items)
If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
withItems
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.keyToPath.new()
.
withItemsMixin(items)
If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
withItemsMixin
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.keyToPath.new()
.
withName(name)
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
withOptional(optional)
Specify whether the ConfigMap or its keys must be defined
information about the downwardAPI data to project
mixinInstance(downwardApi)
withItems(items)
Items is a list of DownwardAPIVolume file
withItems
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.downwardApiVolumeFile.new()
.
see hidden.core.v1.downwardApiVolumeFile
withItemsMixin(items)
Items is a list of DownwardAPIVolume file
withItemsMixin
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.downwardApiVolumeFile.new()
.
see hidden.core.v1.downwardApiVolumeFile
information about the secret data to project
mixinInstance(secret)
withItems(items)
If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
withItems
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.keyToPath.new()
.
withItemsMixin(items)
If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
withItemsMixin
takes an array of type itemsType
. You can create
an instance of itemsType
with hidden.core.v1.keyToPath.new()
.
withName(name)
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
withOptional(optional)
Specify whether the Secret or its key must be defined
information about the serviceAccountToken data to project
mixinInstance(serviceAccountToken)
withAudience(audience)
Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
withExpirationSeconds(expirationSeconds)
ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
withPath(path)
Path is the path relative to the mount point of the file to project the token into.