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

acosentino pushed a commit to branch kubernetes-namespaces
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit e6d2c5d66841458644e97df5a086d11e50dc5f62
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Sep 1 14:32:46 2021 +0200

    Added Kubernetes Namespaces Source Kamelet
---
 kubernetes-namespaces-source.kamelet.yaml | 50 +++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/kubernetes-namespaces-source.kamelet.yaml 
b/kubernetes-namespaces-source.kamelet.yaml
new file mode 100644
index 0000000..5b3f39c
--- /dev/null
+++ b/kubernetes-namespaces-source.kamelet.yaml
@@ -0,0 +1,50 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: kubernetes-namespaces-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Preview"
+    camel.apache.org/catalog.version: "main-SNAPSHOT"
+    camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Im
 [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Kubernetes"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Kubernetes Namespaces source"
+    description: |-
+      Consume Events from Kubernetes Namespaces
+    required:
+      - token
+      - masterUrl
+    type: object
+    properties:
+      token:
+        title: Oauth Token
+        description: The Auth Token to connect to Kubernetes Cluster
+        type: string
+      masterUrl:
+        title: Kubernetes Master URL
+        description: The Kubernetes Cluster Master URL
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+  types:
+    out:
+      mediaType: application/json
+  dependencies:
+    - "camel:kubernetes"
+    - "camel:kamelet"
+    - "camel:jackson"
+  flow:
+    from:
+      uri: "kubernetes-namespaces://{{masterUrl}}"
+      parameters:
+        oauthToken: "{{token}}"
+      steps:
+      - marshal:
+          json: {}
+      - to: "kamelet:sink"
+

Reply via email to