= Kamelets Trait

// Start of autogenerated code - DO NOT EDIT! (badges)
// End of autogenerated code - DO NOT EDIT! (badges)
// Start of autogenerated code - DO NOT EDIT! (description)
The kamelets trait is a platform trait used to inject Kamelets into the integration runtime.


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 kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integration.yaml
----
The following configuration options are available:

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

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

| kamelets.auto
| bool
| Automatically inject all referenced Kamelets and their default configuration (enabled by default)

| kamelets.list
| string
| Comma separated list of Kamelet names to load into the current integration

| kamelets.mount-point
| string
| The directory where the application mounts and reads Kamelet spec (default `/etc/camel/kamelets`)

|===

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