Skip to content

Commit

Permalink
Added Github Tag Source Kamelet - Templates
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Dec 22, 2021
1 parent f894e5b commit 5a96372
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions templates/bindings/camel-k/github-tag-source-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: github-tag-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: github-tag-source
properties:
oauthToken: "The OAuth Token"
repoName: "The Repository Name"
repoOwner: "The Repository Owner"
sink:
ref:
kind: KafkaTopic
apiVersion: kafka.strimzi.io/v1beta1
name: my-topic

11 changes: 11 additions & 0 deletions templates/bindings/core/github-tag-source-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- route:
from:
uri: "kamelet:github-tag-source"
parameters:
oauthToken: "The OAuth Token"
repoName: "The Repository Name"
repoOwner: "The Repository Owner"
steps:
- to:
uri: "log:info"

0 comments on commit 5a96372

Please sign in to comment.