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

[camel-k] branch master updated (d36f4d0 -> e8be6b7)

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

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


    from d36f4d0  Update service-binding RBAC resources to new layout (#1445)
     new 9f58636  chore(doc): Add ServiceBinding trait documentation
     new d03144a  chore(trait): Add ServiceBinding trait to traits schema
     new e8be6b7  chore: Regenerate embedded resources

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 deploy/traits.yaml                                 | 14 ++++++++++++++
 docs/modules/ROOT/nav.adoc                         |  1 +
 .../pages/{owner.adoc => service-binding.adoc}     | 22 ++++++++--------------
 pkg/resources/resources.go                         |  4 ++--
 4 files changed, 25 insertions(+), 16 deletions(-)
 copy docs/modules/traits/pages/{owner.adoc => service-binding.adoc} (55%)


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

Posted by as...@apache.org.
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)


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

Posted by as...@apache.org.
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:


[camel-k] 03/03: chore: Regenerate embedded resources

Posted by as...@apache.org.
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 e8be6b789c21b8d7489c4ec657b88a84cb5d94b7
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Feb 9 14:01:52 2021 +0100

    chore: Regenerate embedded resources
---
 pkg/resources/resources.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 437d3a7..adcb17f 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -305,9 +305,9 @@ var assets = func() http.FileSystem {
 		"/rbac/operator-role-olm.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-olm.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 3963,
+			uncompressedSize: 4135,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x41\x8f\xdb\xb8\x0e\xbe\xfb\x57\x10\xc9\xa5\x7d\x98\x38\xef\xbd\xd3\x43\xde\x29\xdb\xce\xec\x06\x5b\x64\x80\xc9\x74\x8b\x1e\x69\x99\xb1\xb9\x91\x44\xad\x24\x27\x4d\x7f\xfd\x42\x8a\xd3\x71\xea\x99\x6d\x17\x28\x90\xcd\x25\x32\x45\x93\x1f\xbf\x8f\xa2\x35\x85\xd9\x8f\xfb\x15\x53\x78\xc7\x8a\x6c\xa0\x1a\xa2\x40\x6c\x09\x96\x0e\x55\x4b\xb0\x91\x6d\x3c\xa0\x27\xb8\x93\xce\xd6\x18\x59\x2c\xbc\x5a\x6e\xee\x5e\x43\x67\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x41\x93\xdb\x36\x0f\xbd\xeb\x57\x60\xec\x4b\xf2\xcd\x5a\xfe\xda\x53\xc7\x3d\x6d\x93\xdd\xd6\xd3\x8c\x77\x66\xbd\x69\x26\x47\x88\x82\x25\xd4\x24\xc1\x92\x94\x1d\xe7\xd7\x77\x48\xcb\x59\x39\xda\x6d\xd2\x4e\xa6\xae\x2f\xa6\x40\x08\x78\x78\x0f\x84\x38\x85\xd9\xb7\xfb\x15\x53\x78\xc3\x8a\x6c\xa0\x1a\xa2\x40\x6c\x09\xae\x1d\xaa\x96\x60\x2d\x9b\xb8\x47\x4f\x70\x2b\x9d\xad\x31\xb2\x58\x78\x71\xbd\xbe\x7d\x09\x9d\xad\x [...]
 		},
 		"/rbac/operator-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-openshift.yaml",