SecretProjection

final case class SecretProjection(items: Option[Seq[KeyToPath]], name: Option[String], optional: Option[Boolean])

Adapts a secret into a projected volume.

The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

Companion:
object
Source:
SecretProjection.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to items

Appends new values to items

Source:
SecretProjection.scala

if items has a value, transforms to the result of function

if items has a value, transforms to the result of function

Source:
SecretProjection.scala

if name has a value, transforms to the result of function

if name has a value, transforms to the result of function

Source:
SecretProjection.scala

if optional has a value, transforms to the result of function

if optional has a value, transforms to the result of function

Source:
SecretProjection.scala

Returns a new data with items set to new value

Returns a new data with items set to new value

Source:
SecretProjection.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Source:
SecretProjection.scala

Returns a new data with optional set to new value

Returns a new data with optional set to new value

Source:
SecretProjection.scala

Inherited methods

Inherited from:
Product