Class IngressTLS
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.networking.v1.IngressTLS
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressTLSBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressTLS extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressTLSBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IngressTLS describes the transport layer security associated with an ingress.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressTLS()
No args constructor for use in serializationIngressTLS(List<String> hosts, String secretName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressTLSBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<String>
getHosts()
hosts is a list of hosts included in the TLS certificate.String
getSecretName()
secretName is the name of the secret used to terminate TLS traffic on port 443.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setHosts(List<String> hosts)
hosts is a list of hosts included in the TLS certificate.void
setSecretName(String secretName)
secretName is the name of the secret used to terminate TLS traffic on port 443.IngressTLSBuilder
toBuilder()
-
-
-
Method Detail
-
getHosts
public List<String> getHosts()
hosts is 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.
-
setHosts
public void setHosts(List<String> hosts)
hosts is 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.
-
getSecretName
public String getSecretName()
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.
-
setSecretName
public void setSecretName(String 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.
-
edit
public IngressTLSBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<IngressTLSBuilder>
-
toBuilder
public IngressTLSBuilder toBuilder()
-
-