Skip to content

Commit

Permalink
fix sensor examples (argoproj#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavPage authored Feb 18, 2020
1 parent d46fd2a commit abb002c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
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

0 comments on commit abb002c

Please sign in to comment.