= Istio Trait

// Start of autogenerated code - DO NOT EDIT! (description)
The Istio trait allows configuring properties related to the Istio service mesh,
such as sidecar injection and outbound IP ranges.


This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**.

// End of autogenerated code - DO NOT EDIT! (description)
// Start of autogenerated code - DO NOT EDIT! (configuration)
== Configuration

Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.groovy
----
The following configuration options are available:

[cols="2m,1m,5a"]
|===
|Property | Type | Description

| istio.enabled
| bool
| Can be used to enable or disable a trait. All traits share this common property.

| istio.allow
| string
| Configures a (comma-separated) list of CIDR subnets that should not be intercepted by the Istio proxy (`10.0.0.0/8,172.16.0.0/12,192.168.0.0/16` by default).

| istio.inject
| bool
| Forces the value for labels `sidecar.istio.io/inject`. By default the label is set to `true` on deployment and not set on Knative Service.

|===

// End of autogenerated code - DO NOT EDIT! (configuration)
