= Service Binding Trait

// Start of autogenerated code - DO NOT EDIT! (description)
The Service Binding trait allows users to connect to Services in Kubernetes:
https://github.com/k8s-service-bindings/spec#service-binding
As the specification is still evolving this is subject to change.


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

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

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

| service-binding.services
| []string
| List of Services in the form [[apigroup/]version:]kind:[namespace/]name

|===

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