case class SecretEnvSource(name: Optional[String] = Optional.Absent, optional: Optional[Boolean] = Optional.Absent) extends Product with Serializable
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.
- 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
- Alphabetic
- By Inheritance
- SecretEnvSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SecretEnvSource(name: Optional[String] = Optional.Absent, optional: Optional[Boolean] = Optional.Absent)
- 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
Value Members
-
def
getName: IO[K8sFailure, String]
Name of the referent.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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.
- val name: Optional[String]
- val optional: Optional[Boolean]