case class IngressTLS(hosts: Optional[Vector[String]] = Optional.Absent, secretName: Optional[String] = Optional.Absent) extends Product with Serializable
IngressTLS describes the transport layer security associated with an Ingress.
- hosts
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
- secretName
SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
- Alphabetic
- By Inheritance
- IngressTLS
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
IngressTLS(hosts: Optional[Vector[String]] = Optional.Absent, secretName: Optional[String] = Optional.Absent)
- hosts
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
- secretName
SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
Value Members
-
def
getHosts: IO[K8sFailure, Vector[String]]
Hosts are a list of hosts included in the TLS certificate.
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecretName: IO[K8sFailure, String]
SecretName is the name of the secret used to terminate TLS traffic on port 443.
SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val hosts: Optional[Vector[String]]
- val secretName: Optional[String]