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 the spelling and incorrect article use #1309

Merged
merged 1 commit into from
Feb 10, 2022
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
2 changes: 1 addition & 1 deletion docs/triggerbindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ spec:
ref: pipeline-template
```

## Specifying paramters
## Specifying parameters

A `TriggerBinding` allows you to specify parameters (`params`) that Tekton passes to the corresponding `TriggerTemplate`.
For each parameter, you must specify a `name` and a `value` field with the appropriate values.
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ EVENTLISTENER_NAME=example-listener
kubectl port-forward service/el-${EVENTLISTENER_NAME} 8080
```

2. Once the port-forward is done, you can invoke the Trigger by make a HTTP request to `localhost:8080` using `curl`.
2. Once the port-forward is done, you can invoke the Trigger by make an HTTP request to `localhost:8080` using `curl`.
The HTTP request must be a POST request that contains a JSON payload. The JSON payload should contain any fields that they are referenced via a TriggerBinding within the Trigger.
For example, for a Trigger that contains a binding with the value `$(body.commit_sha)`, the payload should contain a field called `commit_sha`.

Expand Down