forked from apache/camel-k
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ref apache#2320
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
= Configuration Trait | ||
|
||
// Start of autogenerated code - DO NOT EDIT! (description) | ||
The configuration trait is used to customize the Integration configuration such as properties and resources. | ||
|
||
|
||
This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**. | ||
|
||
WARNING: The configuration trait is a *platform trait*: disabling it may compromise the platform functionality. | ||
|
||
// 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 configuration.[key]=[value] --trait configuration.[key2]=[value2] integration.groovy | ||
---- | ||
The following configuration options are available: | ||
|
||
[cols="2m,1m,5a"] | ||
|=== | ||
|Property | Type | Description | ||
|
||
| configuration.enabled | ||
| bool | ||
| Can be used to enable or disable a trait. All traits share this common property. | ||
|
||
| configuration.properties | ||
| []string | ||
| A list of properties to be provided to the Integration runtime | ||
|
||
|=== | ||
|
||
// End of autogenerated code - DO NOT EDIT! (configuration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters