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:13 UTC

[camel-k] 02/03: chore(trait): Add ServiceBinding trait to traits schema

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 d03144a2c0765bddd01c8805c4bfd4cc8c308eb2
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Feb 9 14:01:17 2021 +0100

    chore(trait): Add ServiceBinding trait to traits schema
---
 deploy/traits.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/deploy/traits.yaml b/deploy/traits.yaml
index cb0bbc9..f2936cc 100755
--- a/deploy/traits.yaml
+++ b/deploy/traits.yaml
@@ -577,6 +577,20 @@ traits:
   - name: tls-insecure-edge-termination-policy
     type: string
     description: To configure how to deal with insecure traffic, e.g. `Allow`, `Disable` or `Redirect` traffic.Refer to the OpenShift documentation for additional information.
+- name: service-binding
+  platform: false
+  profiles:
+  - Kubernetes
+  - Knative
+  - OpenShift
+  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'
+  properties:
+  - name: enabled
+    type: bool
+    description: Can be used to enable or disable a trait. All traits share this common property.
+  - name: service-bindings
+    type: '[]string'
+    description: List of Provisioned Services and ServiceBindings in the form KIND.VERSION.GROUP/NAME[/NAMESPACE]
 - name: service
   platform: false
   profiles: