Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sensor examples #496

Merged
merged 2 commits into from
Feb 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/sensors/complete-trigger-parameterization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,29 +64,29 @@ spec:
parameters:
- src:
dependencyName: test-dep
path: image
dataKey: image
dest: spec.templates.0.container.image
# Apply parameters at the template level.
parameters:
- src:
dependencyName: test-dep
path: name
dataKey: name
dest: name
- src:
dependencyName: test-dep
path: namespace
dataKey: namespace
dest: k8s.namespace
- src:
dependencyName: test-dep
path: bucket
dataKey: bucket
dest: k8s.source.s3.bucket.name
- src:
dependencyName: test-dep
path: key
dataKey: key
dest: k8s.source.s3.bucket.key
- src:
dependencyName: test-dep
path: port
dataKey: port
dest: k8s.source.s3.endpoint
# Append the port to the existing source.s3.endpoint value
operation: append
2 changes: 1 addition & 1 deletion examples/sensors/file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ spec:
parameters:
- src:
dependencyName: test-dep
path: name
dataKey: name
dest: spec.templates.0.container.args.1
1 change: 0 additions & 1 deletion examples/sensors/hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ spec:
parameters:
- src:
dependencyName: test-dep
path: name
dest: spec.templates.0.container.args.1
1 change: 0 additions & 1 deletion examples/sensors/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ spec:
parameters:
- src:
dependencyName: test-dep
dataKey: s3.object.key
dest: spec.templates.0.container.args.0