Skip to content

Commit

Permalink
fix(docs): add missing dataKey for examples (#1286)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy authored Jul 23, 2021
1 parent 181198a commit d19cb22
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/sensors/amqp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/aws-sns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/aws-sqs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/azure-events-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body.messsage
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/calendar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: eventTime
dest: spec.arguments.parameters.0.value
retryStrategy:
steps: 3
1 change: 1 addition & 0 deletions examples/sensors/data-filter-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/emitter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: name
dest: spec.templates.0.container.args.0
retryStrategy:
steps: 3
1 change: 1 addition & 0 deletions examples/sensors/filter-with-expressions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: name
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/gcp-pubsub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.templates.0.container.args.1
1 change: 1 addition & 0 deletions examples/sensors/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/mqtt-sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
2 changes: 2 additions & 0 deletions examples/sensors/multi-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ spec:
parameters:
- src:
dependencyName: test-dependency-webhook
dataKey: body.a
dest: spec.arguments.parameters.0.value
- src:
dependencyName: test-dependency-calendar
dataKey: eventTime
dest: spec.arguments.parameters.1.value
1 change: 1 addition & 0 deletions examples/sensors/nsq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/pulsar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.templates.0.container.args.0
1 change: 1 addition & 0 deletions examples/sensors/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
retryStrategy:
steps: 3
1 change: 1 addition & 0 deletions examples/sensors/slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body.message
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/special-workflow-trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/storage-grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/stripe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/trigger-standard-k8s-resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.containers.0.args.0
# - template:
# name: webhook-deployment-trigger
Expand Down
1 change: 1 addition & 0 deletions examples/sensors/trigger-with-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value
1 change: 1 addition & 0 deletions examples/sensors/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: body
dest: spec.arguments.parameters.0.value

0 comments on commit d19cb22

Please sign in to comment.