Service Binding Trait

The Service Binding trait allows users to connect to Provisioned Services and ServiceBindings 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.

Configuration

Trait properties can be specified when running any integration with the CLI:

$ kamel run --trait service-binding.[key]=[value] --trait service-binding.[key2]=[value2] integration.groovy

The following configuration options are available:

Property Type Description

service-binding.enabled

bool

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

service-binding.service-bindings

[]string

List of Provisioned Services and ServiceBindings in the form [[apigroup/]version:]kind:[namespace/]name