@@ -15,7 +15,6 @@ weight: 500
1515 - [ Remote Pipelines] ( #remote-pipelines )
1616 - [ Specifying <code >Resources</code >] ( #specifying-resources )
1717 - [ Specifying <code >Parameters</code >] ( #specifying-parameters )
18- - [ Implicit Parameters] ( #implicit-parameters )
1918 - [ Specifying custom <code >ServiceAccount</code > credentials] ( #specifying-custom-serviceaccount-credentials )
2019 - [ Mapping <code >ServiceAccount</code > credentials to <code >Tasks</code >] ( #mapping-serviceaccount-credentials-to-tasks )
2120 - [ Specifying a <code >Pod</code > template] ( #specifying-a-pod-template )
@@ -284,75 +283,6 @@ case is when your CI system autogenerates `PipelineRuns` and it has `Parameters`
284283provide to all `PipelineRuns`. Because you can pass in extra `Parameters`, you don't have to
285284go through the complexity of checking each `Pipeline` and providing only the required params.
286285
287- # ### Implicit Parameters
288-
289- **([alpha only](https://github.com/tektoncd/pipeline/blob/main/docs/install.md#alpha-features))**
290-
291- When using an inlined spec, parameters from the parent `PipelineRun` will be
292- available to any inlined specs without needing to be explicitly defined. This
293- allows authors to simplify specs by automatically propagating top-level
294- parameters down to other inlined resources.
295-
296- ` ` ` yaml
297- apiVersion: tekton.dev/v1beta1
298- kind: PipelineRun
299- metadata:
300- generateName: echo-
301- spec:
302- params:
303- - name: MESSAGE
304- value: "Good Morning!"
305- pipelineSpec:
306- tasks:
307- - name: echo-message
308- taskSpec:
309- steps:
310- - name: echo
311- image: ubuntu
312- script: |
313- #!/usr/bin/env bash
314- echo "$(params.MESSAGE)"
315- ` ` `
316-
317- On creation, this will resolve to a fully-formed spec and will be returned back
318- to clients to avoid ambiguity :
319-
320- ` ` ` yaml
321- apiVersion: tekton.dev/v1beta1
322- kind: PipelineRun
323- metadata:
324- generateName: echo-
325- spec:
326- params:
327- - name: MESSAGE
328- value: Good Morning!
329- pipelineSpec:
330- params:
331- - name: MESSAGE
332- type: string
333- tasks:
334- - name: echo-message
335- params:
336- - name: MESSAGE
337- value: $(params.MESSAGE)
338- taskSpec:
339- params:
340- - name: MESSAGE
341- type: string
342- spec: null
343- steps:
344- - name: echo
345- image: ubuntu
346- script: |
347- #!/usr/bin/env bash
348- echo "$(params.MESSAGE)"
349- ` ` `
350-
351- Note that all implicit Parameters will be passed through to inlined resources
352- (i.e. PipelineRun -> Pipeline -> Tasks) even if they are not used.
353- Extra parameters passed this way should generally be safe (since they aren't
354- actually used), but may result in more verbose specs being returned by the API.
355-
356286# ## Specifying custom `ServiceAccount` credentials
357287
358288You can execute the `Pipeline` in your `PipelineRun` with a specific set of credentials by
0 commit comments