This repository was archived by the owner on Oct 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +47
-65
lines changed
Expand file tree Collapse file tree 4 files changed +47
-65
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# Sample HTTPPollerSource object.
16+ #
17+ # For a list and description of all available attributes, execute the following command against a cluster where this
18+ # Custom Resource Definition has been registered:
19+ #
20+ # kubectl explain httppollersources.sources.triggermesh.io
1621
1722apiVersion : sources.triggermesh.io/v1alpha1
1823kind : HTTPPollerSource
1924metadata :
20- name : httppoller-test
25+ name : sample
2126spec :
2227 eventType : weather.alerts/kansas
2328 eventSource : gov.weather
29+
2430 endpoint : https://api.weather.gov/alerts/active?area=KS
2531 method : GET
2632 interval : 20s
33+
2734 sink :
2835 ref :
29- apiVersion : serving.knative.dev/v1
30- kind : Service
31- name : event-display
32-
33- ---
34-
35- apiVersion : serving.knative.dev/v1
36- kind : Service
37- metadata :
38- name : event-display
39- spec :
40- template :
41- spec :
42- containers :
43- - image : gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
36+ apiVersion : eventing.knative.dev/v1
37+ kind : Broker
38+ name : default
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# Sample SlackSource object.
16+ #
17+ # For a list and description of all available attributes, execute the following command against a cluster where this
18+ # Custom Resource Definition has been registered:
19+ #
20+ # kubectl explain slacksources.sources.triggermesh.io
1621
1722apiVersion : sources.triggermesh.io/v1alpha1
1823kind : SlackSource
1924metadata :
20- name : triggermesh-knbot
25+ name : sample
2126spec :
2227 # optional, making sure we are receiving events on behalf of Slack
2328 signingSecret :
2429 value : XXXXXXXXXXXXXXXXXX
30+
2531 # optional, making sure the events are being sent for this integration
2632 appID : AXXXXXXXXX
33+
2734 sink :
2835 ref :
29- apiVersion : serving.knative.dev/v1
30- kind : Service
31- name : event-display
32-
33- ---
34-
35- apiVersion : serving.knative.dev/v1
36- kind : Service
37- metadata :
38- name : event-display
39- spec :
40- template :
41- spec :
42- containers :
43- - image : gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
36+ apiVersion : eventing.knative.dev/v1
37+ kind : Broker
38+ name : default
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# Sample WebhookSource object.
16+ #
17+ # For a list and description of all available attributes, execute the following command against a cluster where this
18+ # Custom Resource Definition has been registered:
19+ #
20+ # kubectl explain webhooksources.sources.triggermesh.io
1621
1722apiVersion : sources.triggermesh.io/v1alpha1
1823kind : WebhookSource
1924metadata :
20- name : webhooksource-test
25+ name : sample
2126spec :
2227 eventType : com.example.mysample.event
2328 eventSource : instance-abc123
29+
2430 basicAuthUsername : customuser
2531 basicAuthPassword :
2632 value : abc123secret
33+
2734 sink :
2835 ref :
29- apiVersion : serving.knative.dev/v1
30- kind : Service
31- name : event-display
32-
33- ---
34-
35- apiVersion : serving.knative.dev/v1
36- kind : Service
37- metadata :
38- name : event-display
39- spec :
40- template :
41- spec :
42- containers :
43- - image : gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
36+ apiVersion : eventing.knative.dev/v1
37+ kind : Broker
38+ name : default
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# Sample ZendeskSource object.
16+ #
17+ # For a list and description of all available attributes, execute the following command against a cluster where this
18+ # Custom Resource Definition has been registered:
19+ #
20+ # kubectl explain zendesksources.sources.triggermesh.io
1621
1722apiVersion : sources.triggermesh.io/v1alpha1
1823kind : ZendeskSource
1924metadata :
20- name : zendesksource
25+ name : sample
2126spec :
22- email : johndoe@example.com
27+
2328 subdomain : example-corp
29+
30+ email : johndoe@example.com
2431 token :
2532 value : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
33+
2634 webhookUsername : foo
2735 webhookPassword :
2836 value : secret1234
37+
2938 sink :
3039 ref :
31- apiVersion : serving.knative.dev/v1
32- kind : Service
33- name : event-display
34-
35- ---
36-
37- apiVersion : serving.knative.dev/v1
38- kind : Service
39- metadata :
40- name : event-display
41- spec :
42- template :
43- spec :
44- containers :
45- - image : gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
40+ apiVersion : eventing.knative.dev/v1
41+ kind : Broker
42+ name : default
You can’t perform that action at this time.
0 commit comments