SecretProjection

io.k8s.api.core.v1.SecretProjection
See theSecretProjection companion object
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.

Attributes

Companion
object
Source
SecretProjection.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addItems(newValues: KeyToPath*): SecretProjection

Appends new values to items

Appends new values to items

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
SecretProjection.scala

Returns a new data with items set to new value

Returns a new data with items set to new value

Attributes

Source
SecretProjection.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
SecretProjection.scala

Returns a new data with optional set to new value

Returns a new data with optional set to new value

Attributes

Source
SecretProjection.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product