pub struct TLSConfig {
pub ca_certificate: Option<String>,
pub certificate: Option<String>,
pub destination_ca_certificate: Option<String>,
pub insecure_edge_termination_policy: Option<String>,
pub key: Option<String>,
pub termination: String,
}
Expand description
TLSConfig defines config used to secure a route and provide termination
Fields§
§ca_certificate: Option<String>
caCertificate provides the cert authority certificate contents
certificate: Option<String>
certificate provides certificate contents
destination_ca_certificate: Option<String>
destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify.
insecure_edge_termination_policy: Option<String>
insecureEdgeTerminationPolicy indicates the desired behavior for insecure connections to a route. While each router may make its own decisions on which ports to expose, this is normally port 80.
- Allow - traffic is sent to the server on the insecure port (default) * Disable - no traffic is allowed on the insecure port. * Redirect - clients are redirected to the secure port.
key: Option<String>
key provides key file contents
termination: String
termination indicates termination type.