Skip to content

Add imagePullSecrets to PodTemplate #1779

@imjasonh

Description

@imjasonh

In K8s, Pods can specify a imagePullSecrets which identifies K8s secrets that the container runtime should use to authorize container image pulls when starting a Pod (K8s docs). This potentially provides creds to the container runtime (docker, containerd, etc.) in cases when the image is not publicly available.

This isn't exposed in a TaskRun's podTemplate (PodTemplate type), to be added to the underlying Pod's configuration.

Exposing this would allow Tekton users to declare K8s secrets that should be used to pull images specified in steps.

/kind feature
/area api

Metadata

Metadata

Assignees

Labels

area/apiIndicates an issue or PR that deals with the API.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions