You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/02/09 14:02:12 UTC

[camel-k] 01/03: chore(doc): Add ServiceBinding trait documentation

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 9f586369624e7d3202785d220214c23301c97f89
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Feb 9 13:59:48 2021 +0100

    chore(doc): Add ServiceBinding trait documentation
---
 docs/modules/ROOT/nav.adoc                     |  1 +
 docs/modules/traits/pages/service-binding.adoc | 35 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 16ce32a..fffc8c9 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -57,6 +57,7 @@
 ** xref:traits:pull-secret.adoc[Pull Secret]
 ** xref:traits:quarkus.adoc[Quarkus]
 ** xref:traits:route.adoc[Route]
+** xref:traits:service-binding.adoc[Service Binding]
 ** xref:traits:service.adoc[Service]
 ** xref:traits:tracing.adoc[Tracing]
 // End of autogenerated code - DO NOT EDIT! (trait-nav)
diff --git a/docs/modules/traits/pages/service-binding.adoc b/docs/modules/traits/pages/service-binding.adoc
new file mode 100755
index 0000000..eafff8f
--- /dev/null
+++ b/docs/modules/traits/pages/service-binding.adoc
@@ -0,0 +1,35 @@
+= Service Binding Trait
+
+// Start of autogenerated code - DO NOT EDIT! (description)
+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**.
+
+// 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.service-bindings
+| []string
+| List of Provisioned Services and ServiceBindings in the form KIND.VERSION.GROUP/NAME[/NAMESPACE]
+
+|===
+
+// End of autogenerated code - DO NOT EDIT! (configuration)