SecretEnvSource

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

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Value Params
name

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

optional

Specify whether the Secret must be defined

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

Value members

Concrete methods

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 must be defined

Specify whether the Secret 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