mirror of https://github.com/knative/docs.git
update samples to not use deprecated fields in triggers (#2057)
This commit is contained in:
parent
d1126ea303
commit
6eb244bb22
|
@ -128,7 +128,7 @@ Here are a few example Triggers that subscribe to events using exact matching on
|
|||
spec:
|
||||
broker: default
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: dev.knative.source.github.push
|
||||
subscriber:
|
||||
ref:
|
||||
|
@ -153,7 +153,7 @@ Here are a few example Triggers that subscribe to events using exact matching on
|
|||
spec:
|
||||
broker: default
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: dev.knative.source.github.pull_request
|
||||
source: https://github.com/knative/eventing
|
||||
subscriber:
|
||||
|
@ -174,7 +174,7 @@ Here are a few example Triggers that subscribe to events using exact matching on
|
|||
spec:
|
||||
broker: default
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: dev.knative.kafka.event
|
||||
source: /apis/v1/namespaces/default/kafkasources/kafka-sample#knative-demo
|
||||
subscriber:
|
||||
|
@ -196,7 +196,7 @@ Here are a few example Triggers that subscribe to events using exact matching on
|
|||
spec:
|
||||
broker: dev
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
source: //pubsub.googleapis.com/knative/topics/testing
|
||||
subscriber:
|
||||
ref:
|
||||
|
|
|
@ -166,7 +166,7 @@ metadata:
|
|||
name: sequence-trigger
|
||||
spec:
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: dev.knative.cronjob.event
|
||||
subscriber:
|
||||
ref:
|
||||
|
@ -202,7 +202,7 @@ metadata:
|
|||
name: display-trigger
|
||||
spec:
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: samples.http.mod3
|
||||
subscriber:
|
||||
ref:
|
||||
|
|
|
@ -15,7 +15,7 @@ metadata:
|
|||
spec:
|
||||
broker: default
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: samples.http.mod3
|
||||
subscriber:
|
||||
ref:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
spec:
|
||||
broker: default
|
||||
filter:
|
||||
sourceAndType:
|
||||
attributes:
|
||||
type: dev.knative.cronjob.event
|
||||
subscriber:
|
||||
ref:
|
||||
|
|
Loading…
Reference in New Issue