volumeProjection

Projection that may be projected along with other supported volume types

Constuctors

Mixins
  • configMap

    information about the configMap data to project


    Functions
    • mixinInstance

      mixinInstance(configMap)
      


    • withItems

      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().

      see hidden.core.v1.keyToPath


    • withItemsMixin

      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().

      see hidden.core.v1.keyToPath


    • withName
    • withOptional

      withOptional(optional)
      

      Specify whether the ConfigMap or its keys must be defined


  • downwardApi

    information about the downwardAPI data to project


    Functions
  • secret

    information about the secret data to project


    Functions
    • mixinInstance

      mixinInstance(secret)
      


    • withItems

      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().

      see hidden.core.v1.keyToPath


    • withItemsMixin

      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().

      see hidden.core.v1.keyToPath


    • withName
    • withOptional

      withOptional(optional)
      

      Specify whether the Secret or its key must be defined


  • serviceAccountToken

    information about the serviceAccountToken data to project


    Functions
    • mixinInstance

      mixinInstance(serviceAccountToken)
      


    • withAudience

      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

      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

      withPath(path)
      

      Path is the path relative to the mount point of the file to project the token into.