SecretKeySelector

case class SecretKeySelector(key: String, name: Optional[String], optional: Optional[Boolean])

SecretKeySelector selects a key of a Secret.

Value Params
key

The key of the secret to select from. Must be a valid secret key.

name

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

optional

Specify whether the Secret or its key must be defined

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getKey: IO[K8sFailure, String]

The key of the secret to select from. Must be a valid secret key.

The key of the secret to select from. Must be a valid secret key.

This effect always succeeds, it is safe to use the field key directly.

def getName: IO[K8sFailure, String]

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

def getOptional: IO[K8sFailure, Boolean]

Specify whether the Secret or its key must be defined

Specify whether the Secret or its key must be defined

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product