[camel-kamelets] 02/08: Added Kubernetes Namespaces Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 58d12d2f1553be9108c18f4cdde8103046fdddbc Author: Andrea Cosentino AuthorDate: Wed Sep 1 14:34:17 2021 +0200 Added Kubernetes Namespaces Source Kamelet --- .../kubernetes-namespaces-source.kamelet.yaml | 50 ++ 1 file changed, 50 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/kubernetes-namespaces-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kubernetes-namespaces-source.kamelet.yaml new file mode 100644 index 000..5b3f39c --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/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" +
[camel-kamelets] 02/08: Added Kubernetes Namespaces Source Kamelet
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 f112ed94fefe221c5aec5dcbf7e70edaf57c9b4c Author: Andrea Cosentino AuthorDate: Wed Sep 1 14:34:17 2021 +0200 Added Kubernetes Namespaces Source Kamelet --- .../kubernetes-namespaces-source.kamelet.yaml | 50 ++ 1 file changed, 50 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/kubernetes-namespaces-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kubernetes-namespaces-source.kamelet.yaml new file mode 100644 index 000..5b3f39c --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/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" +