Route Trait
The Route trait can be used to configure the creation of OpenShift routes for the integration.
This trait is available in the following profiles: OpenShift.
Configuration
Trait properties can be specified when running any integration with the CLI:
$ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.groovy
The following configuration options are available:
Property | Type | Description |
---|---|---|
|
|
Can be used to enable or disable a trait. All traits share this common property. |
|
|
To configure the host exposed by the route. |
|
|
The TLS termination type, like Refer to the OpenShift documentation for additional information. |
|
|
The TLS certificate contents. Refer to the OpenShift documentation for additional information. |
|
|
The TLS certificate key contents. Refer to the OpenShift documentation for additional information. |
|
|
The TLS cert authority certificate contents. Refer to the OpenShift documentation for additional information. |
|
|
The destination CA certificate 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. Refer to the OpenShift documentation for additional information. |
|
|
To configure how to deal with insecure traffic, e.g. Refer to the OpenShift documentation for additional information. |