From d19cb22c4b67dcd993c362b9c6310f29b035037a Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 23 Jul 2021 16:21:48 -0700 Subject: [PATCH] fix(docs): add missing dataKey for examples (#1286) Signed-off-by: Derek Wang --- examples/sensors/amqp.yaml | 1 + examples/sensors/aws-sns.yaml | 1 + examples/sensors/aws-sqs.yaml | 1 + examples/sensors/azure-events-hub.yaml | 1 + examples/sensors/calendar.yaml | 1 + examples/sensors/data-filter-webhook.yaml | 1 + examples/sensors/emitter.yaml | 1 + examples/sensors/file.yaml | 1 + examples/sensors/filter-with-expressions.yaml | 1 + examples/sensors/gcp-pubsub.yaml | 1 + examples/sensors/hdfs.yaml | 1 + examples/sensors/kafka.yaml | 1 + examples/sensors/mqtt-sensor.yaml | 1 + examples/sensors/multi-dependencies.yaml | 2 ++ examples/sensors/nsq.yaml | 1 + examples/sensors/pulsar.yaml | 1 + examples/sensors/redis.yaml | 1 + examples/sensors/resource.yaml | 1 + examples/sensors/slack.yaml | 1 + examples/sensors/special-workflow-trigger.yaml | 1 + examples/sensors/storage-grid.yaml | 1 + examples/sensors/stripe.yaml | 1 + examples/sensors/trigger-standard-k8s-resource.yaml | 1 + examples/sensors/trigger-with-policy.yaml | 1 + examples/sensors/webhook.yaml | 1 + 25 files changed, 26 insertions(+) diff --git a/examples/sensors/amqp.yaml b/examples/sensors/amqp.yaml index a468d30a8b..0cc8d714b7 100644 --- a/examples/sensors/amqp.yaml +++ b/examples/sensors/amqp.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/aws-sns.yaml b/examples/sensors/aws-sns.yaml index 9b46c6d8e0..1d4cd0e8bc 100644 --- a/examples/sensors/aws-sns.yaml +++ b/examples/sensors/aws-sns.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/aws-sqs.yaml b/examples/sensors/aws-sqs.yaml index 4000550a7b..3c081f5d2f 100644 --- a/examples/sensors/aws-sqs.yaml +++ b/examples/sensors/aws-sqs.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/azure-events-hub.yaml b/examples/sensors/azure-events-hub.yaml index e4c4633f88..23ab476d49 100644 --- a/examples/sensors/azure-events-hub.yaml +++ b/examples/sensors/azure-events-hub.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body.messsage dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/calendar.yaml b/examples/sensors/calendar.yaml index 7d03d2993d..3ec9af9a07 100644 --- a/examples/sensors/calendar.yaml +++ b/examples/sensors/calendar.yaml @@ -42,6 +42,7 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: eventTime dest: spec.arguments.parameters.0.value retryStrategy: steps: 3 diff --git a/examples/sensors/data-filter-webhook.yaml b/examples/sensors/data-filter-webhook.yaml index a689a442a4..61b8e381c2 100644 --- a/examples/sensors/data-filter-webhook.yaml +++ b/examples/sensors/data-filter-webhook.yaml @@ -49,4 +49,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/emitter.yaml b/examples/sensors/emitter.yaml index 9d5bfbda57..c27e74ce90 100644 --- a/examples/sensors/emitter.yaml +++ b/examples/sensors/emitter.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/file.yaml b/examples/sensors/file.yaml index 97e3734ad0..083090ef4d 100644 --- a/examples/sensors/file.yaml +++ b/examples/sensors/file.yaml @@ -37,6 +37,7 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: name dest: spec.templates.0.container.args.0 retryStrategy: steps: 3 diff --git a/examples/sensors/filter-with-expressions.yaml b/examples/sensors/filter-with-expressions.yaml index 03f50994fd..ab46b5fc76 100644 --- a/examples/sensors/filter-with-expressions.yaml +++ b/examples/sensors/filter-with-expressions.yaml @@ -64,4 +64,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: name dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/gcp-pubsub.yaml b/examples/sensors/gcp-pubsub.yaml index d385fc9f9f..740b2ca735 100644 --- a/examples/sensors/gcp-pubsub.yaml +++ b/examples/sensors/gcp-pubsub.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/hdfs.yaml b/examples/sensors/hdfs.yaml index 3cb3824c41..9e03fb9d48 100644 --- a/examples/sensors/hdfs.yaml +++ b/examples/sensors/hdfs.yaml @@ -36,4 +36,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.templates.0.container.args.1 diff --git a/examples/sensors/kafka.yaml b/examples/sensors/kafka.yaml index 3303a488ba..7dfce7fcf5 100644 --- a/examples/sensors/kafka.yaml +++ b/examples/sensors/kafka.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/mqtt-sensor.yaml b/examples/sensors/mqtt-sensor.yaml index 51cb400b75..416bf73ed3 100644 --- a/examples/sensors/mqtt-sensor.yaml +++ b/examples/sensors/mqtt-sensor.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/multi-dependencies.yaml b/examples/sensors/multi-dependencies.yaml index 5da02dd81c..8c52df32e8 100644 --- a/examples/sensors/multi-dependencies.yaml +++ b/examples/sensors/multi-dependencies.yaml @@ -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 diff --git a/examples/sensors/nsq.yaml b/examples/sensors/nsq.yaml index 0c9da6e209..10f37db374 100644 --- a/examples/sensors/nsq.yaml +++ b/examples/sensors/nsq.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/pulsar.yaml b/examples/sensors/pulsar.yaml index 345e302845..d083265e87 100644 --- a/examples/sensors/pulsar.yaml +++ b/examples/sensors/pulsar.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/redis.yaml b/examples/sensors/redis.yaml index a63c16fb09..5bf14a6884 100644 --- a/examples/sensors/redis.yaml +++ b/examples/sensors/redis.yaml @@ -36,4 +36,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.templates.0.container.args.0 diff --git a/examples/sensors/resource.yaml b/examples/sensors/resource.yaml index 49d8dad088..ef37535815 100644 --- a/examples/sensors/resource.yaml +++ b/examples/sensors/resource.yaml @@ -44,6 +44,7 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value retryStrategy: steps: 3 diff --git a/examples/sensors/slack.yaml b/examples/sensors/slack.yaml index 6aaaf258c7..76a756e07b 100644 --- a/examples/sensors/slack.yaml +++ b/examples/sensors/slack.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body.message dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/special-workflow-trigger.yaml b/examples/sensors/special-workflow-trigger.yaml index b20fd29edd..8483f11e3b 100644 --- a/examples/sensors/special-workflow-trigger.yaml +++ b/examples/sensors/special-workflow-trigger.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/storage-grid.yaml b/examples/sensors/storage-grid.yaml index f0094029d2..8aa530e598 100644 --- a/examples/sensors/storage-grid.yaml +++ b/examples/sensors/storage-grid.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/stripe.yaml b/examples/sensors/stripe.yaml index 27c2d5b81d..3c74bacad0 100644 --- a/examples/sensors/stripe.yaml +++ b/examples/sensors/stripe.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/trigger-standard-k8s-resource.yaml b/examples/sensors/trigger-standard-k8s-resource.yaml index a97e5cfad1..f3dbe1bdeb 100644 --- a/examples/sensors/trigger-standard-k8s-resource.yaml +++ b/examples/sensors/trigger-standard-k8s-resource.yaml @@ -34,6 +34,7 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.containers.0.args.0 # - template: # name: webhook-deployment-trigger diff --git a/examples/sensors/trigger-with-policy.yaml b/examples/sensors/trigger-with-policy.yaml index e0d365da14..61196b5e34 100644 --- a/examples/sensors/trigger-with-policy.yaml +++ b/examples/sensors/trigger-with-policy.yaml @@ -70,4 +70,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value diff --git a/examples/sensors/webhook.yaml b/examples/sensors/webhook.yaml index 79a3d988b9..ec06e8ea1b 100644 --- a/examples/sensors/webhook.yaml +++ b/examples/sensors/webhook.yaml @@ -42,4 +42,5 @@ spec: parameters: - src: dependencyName: test-dep + dataKey: body dest: spec.arguments.parameters.0.value