Skip to content

Commit

Permalink
doc: added a note on pulling task image from private repo
Browse files Browse the repository at this point in the history
prior to this, docs were not clear on how to use a private image
for a task - issue #3604

if a task uses an image from a private repo, then `imagePullSecrets`
must be provided at runtime via `podTemplate` - added note to the tasks docs
  • Loading branch information
adelmoradian authored and tekton-robot committed Apr 21, 2023
1 parent 7b8bab4 commit 8fb5999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ The following requirements apply to each container image referenced in a `steps`
though Tekton runs `Steps` sequentially.
For more detail, see [Compute Resources in Tekton](./compute-resources.md).

**Note:** If the image referenced in the `step` field is from a private registry, `TaskRuns` or `PipelineRuns` that consume the task
must provide the `imagePullSecrets` in a [podTemplate](./podtemplates.md).

Below is an example of setting the resource requests and limits for a step:


Expand Down

0 comments on commit 8fb5999

Please sign in to comment.