diff --git a/docs/eventlisteners.md b/docs/eventlisteners.md index 8cabf59f0..2b782c59f 100644 --- a/docs/eventlisteners.md +++ b/docs/eventlisteners.md @@ -135,7 +135,7 @@ triggers: spec: params: - name: "my-param-name" - resourceTemplates: + resourcetemplates: - apiVersion: "tekton.dev/v1beta1" kind: TaskRun metadata: diff --git a/docs/triggers.md b/docs/triggers.md index 5f9d131e3..7e497109c 100644 --- a/docs/triggers.md +++ b/docs/triggers.md @@ -67,7 +67,7 @@ triggers: spec: params: - name: "my-param-name" - resourceTemplates: + resourcetemplates: - apiVersion: "tekton.dev/v1beta1" kind: TaskRun metadata: diff --git a/docs/triggertemplates.md b/docs/triggertemplates.md index 05faa6848..a64991a6e 100644 --- a/docs/triggertemplates.md +++ b/docs/triggertemplates.md @@ -98,7 +98,7 @@ A `TriggerTemplate` allows you to declare parameters supplied by the associated * Tekton applies the value of the `default` field for each entry in the `params` array of your `TriggerTemplate` if it can't find a corresponding value in the associated `TriggerBinding` or cannot successfully extract the value from an HTTP header or body payload. -* You can reference `tt.params` in the `resourceTemplates` section of your `TriggerTemplate` to make your `TriggerTemplate` reusable. +* You can reference `tt.params` in the `resourcetemplates` section of your `TriggerTemplate` to make your `TriggerTemplate` reusable. * When you specify parameters in your resource template definitions, Tekton replaces the specified string with the parameter name, for example `$(tt.params.name)`. Therefore, simple string and number value replacements work fine directly in your YAML file. However, if a string has a numerical prefix, such as `123abcd`, diff --git a/examples/eventlisteners/cel-eventlistener-interceptor.yaml b/examples/eventlisteners/cel-eventlistener-interceptor.yaml index 3d7c552c2..b23d6d490 100644 --- a/examples/eventlisteners/cel-eventlistener-interceptor.yaml +++ b/examples/eventlisteners/cel-eventlistener-interceptor.yaml @@ -23,7 +23,7 @@ spec: spec: params: - name: sha - resourceTemplates: + resourcetemplates: - apiVersion: tekton.dev/v1beta1 kind: TaskRun metadata: diff --git a/examples/eventlisteners/cel-eventlistener-multiple-overlays.yaml b/examples/eventlisteners/cel-eventlistener-multiple-overlays.yaml index 23b4f4a07..23f118eda 100644 --- a/examples/eventlisteners/cel-eventlistener-multiple-overlays.yaml +++ b/examples/eventlisteners/cel-eventlistener-multiple-overlays.yaml @@ -26,7 +26,7 @@ spec: params: - name: sha - name: branch - resourceTemplates: + resourcetemplates: - apiVersion: tekton.dev/v1beta1 kind: TaskRun metadata: